diff options
author | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-10-27 23:23:58 +0900 |
---|---|---|
committer | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-11-01 18:23:30 +0900 |
commit | 504282cf4c05a9fd9e70566c1dfcd56927f8c4e2 (patch) | |
tree | 1892b8031e27626ae8ab2df1092e03203094f0c9 /app/views/projects/wikis/_main_links.html.haml | |
parent | b328c7885532ccff70e1f9f7dc970a8dde0c52d6 (diff) | |
download | gitlab-ce-504282cf4c05a9fd9e70566c1dfcd56927f8c4e2.tar.gz |
Fix edit button wiki
Diffstat (limited to 'app/views/projects/wikis/_main_links.html.haml')
-rw-r--r-- | app/views/projects/wikis/_main_links.html.haml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/views/projects/wikis/_main_links.html.haml b/app/views/projects/wikis/_main_links.html.haml index 4ea75dbbf0c..763c2fea39b 100644 --- a/app/views/projects/wikis/_main_links.html.haml +++ b/app/views/projects/wikis/_main_links.html.haml @@ -7,6 +7,3 @@ - if can?(current_user, :create_wiki, @project) = link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn" do Edit - - if can?(current_user, :admin_wiki, @project) - = link_to namespace_project_wiki_path(@project.namespace, @project, @page), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-remove" do - Delete |