move "new Rubrik"

This commit is contained in:
Andreas Stephanides
2013-08-27 22:05:39 +02:00
parent 108a27e804
commit 00403de881
2 changed files with 4 additions and 3 deletions

View File

@@ -1 +1,5 @@
<%= render :partial=>"admin_liste", :locals=>{:rubriken=>@rubriken} %>
<%= link_to 'New Rubrik', new_rubrik_path unless cannot?(:new, Rubrik) %>

View File

@@ -10,6 +10,3 @@
<br />
<%= link_to 'New Rubrik', new_rubrik_path unless cannot?(:new, Rubrik) %>