This commit is contained in:
jomo
2013-10-07 05:33:12 +02:00
parent 5fac505a31
commit 292e1ae4bb
4 changed files with 21 additions and 3 deletions

View File

@@ -15,5 +15,5 @@
</div>
</div>
<% end %>
<%= link_to 'Make new Post', new_blogpost_path if mod? %>
<%= button_to 'Make new Post', new_blogpost_path, method: "get" if mod? %>
</div>