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:
parent
b9ef26837c
commit
f9d92411d8
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user