FIX: Redirect- und Destroy-Pfad

This commit is contained in:
HausdorffHimself
2013-09-06 20:46:07 +02:00
parent de48cccdbc
commit 30056a0d9f
2 changed files with 4 additions and 5 deletions

View File

@@ -23,10 +23,9 @@
</div>
</br>
<% unless @thema.id.nil? %>
<% @att_elements = [{:icon=>:plus, :hicon=>'icon-plus', :text=>I18n.t('attachment.add'), :path=>new_thema_attachment_path(@thema)}] %>
<%= render :partial=>'layouts/pretty_toolbar', :object=>@att_elements %>
<!--
<%= link_to 'Neues Attachment', new_thema_attachment_path(@thema) %>
-->
<% end %>
<br/>