Commit 5d7153e6 authored by Annabel Dunstone's avatar Annabel Dunstone

Remove duplicate new page btn from edit wiki

parent 89506940
......@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment