Commit f17c990a authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: "Add file" link broken by recent refactoring (#6627).

git-svn-id: svn+ssh:// e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b26ba171
<div class="contextual">
<%= link_to_if_authorized l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add' %>
<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment