Fix issue edit button showup
This commit is contained in:
parent
c9b1df1201
commit
573942263a
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@
|
||||||
- else
|
- 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"
|
= 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
|
= link_to edit_project_issue_path(@project, @issue), class: "btn grouped" do
|
||||||
%i.icon-edit
|
%i.icon-edit
|
||||||
Edit
|
Edit
|
||||||
|
|
Loading…
Add table
Reference in a new issue