Commit 25ae737d authored by Annabel Dunstone's avatar Annabel Dunstone Committed by Jacob Schatz

Add new page button to wiki home

parent 1d7b809a
......@@ -15,6 +15,9 @@
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