1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-10 11:13:06 +00:00

Revert r4085. link_to_if_authorized does not support strings anymore.

This commit is contained in:
Holger Just 2010-10-21 21:37:50 +02:00
parent b9ef26837c
commit f9d92411d8

View File

@ -1,5 +1,5 @@
<div class="contextual">
<%= link_to_if_authorized l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add' %>
<%= link_to_if_authorized l(:label_attachment_new), {:controller => 'files', :action => 'new', :id => @project}, :class => 'icon icon-add' %>
</div>
<h2><%=l(:label_attachment_plural)%></h2>