summaryrefslogtreecommitdiff
path: root/app/views/snippets/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets/index.html.haml')
-rw-r--r--app/views/snippets/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index a6b07716ccb..2d07921e879 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -2,7 +2,7 @@
- if can? current_user, :write_snippet, @project
.alert-message.block-message
- = link_to new_project_snippet_path(@project), :class => "btn small add_new right", :title => "New Snippet" do
+ = link_to new_project_snippet_path(@project), class: "btn small add_new right", title: "New Snippet" do
Add new snippet
Share code pastes with others if it cant be in a git repository
%br
@@ -17,5 +17,5 @@
= render @snippets.fresh
- if @snippets.fresh.empty?
%tr
- %td{:colspan => 3}
+ %td{colspan: 3}
%h3.nothing_here_message Nothing here.