Skip to content
Snippets Groups Projects
Commit 57394226 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix issue edit button showup

parent c9b1df12
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,10 +12,9 @@
- else
= link_to 'Close', project_issue_path(@project, @issue, issue: {state_event: :close }, status_only: true), method: :put, class: "btn grouped close_issue", title: "Close Issue"
 
- if can?(current_user, :admin_issue, @issue)
= link_to edit_project_issue_path(@project, @issue), class: "btn grouped" do
%i.icon-edit
Edit
Edit
 
.pull-right
.span3#votes= render 'votes/votes_block', votable: @issue
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment