summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-24 09:46:20 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-27 11:52:38 -0500
commit5d7153e61dce279c06da54908674861682a9740d (patch)
tree88a1eb14ea4045f927b51f1cf7ad8b443b3de022 /app
parent89506940f42c983ac8f9f3730330c996f5f621e4 (diff)
downloadgitlab-ce-5d7153e61dce279c06da54908674861682a9740d.tar.gz
Remove duplicate new page btn from edit wiki
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/wikis/edit.html.haml3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml
index bf5d09d50c2..af9d23bbfb3 100644
--- a/app/views/projects/wikis/edit.html.haml
+++ b/app/views/projects/wikis/edit.html.haml
@@ -15,9 +15,6 @@
Edit Page
.nav-controls
- - if can?(current_user, :create_wiki, @project)
- = link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do
- New Page
= render 'main_links'