diff --git a/app/views/queries/_new_issue_button.html.erb b/app/views/queries/_new_issue_button.html.erb index bae67e8f..8563319b 100644 --- a/app/views/queries/_new_issue_button.html.erb +++ b/app/views/queries/_new_issue_button.html.erb @@ -1,5 +1,5 @@ <% if @project %>
- <%= link_to(l(:label_issue_new), {:controller => 'issues', :action => 'new', :project_id => @project}, :title => l(:label_issue_new), :class => '') %> + <%= link_to_if_authorized(l(:label_issue_new), {:controller => 'issues', :action => 'new', :project_id => @project}, :title => l(:label_issue_new), :class => '') %>
<% end %>