Add new page button to wiki home

This commit is contained in:
Annabel Dunstone 2016-06-16 12:21:23 -05:00 committed by Jacob Schatz
parent 1d7b809a01
commit 25ae737df0

View file

@ -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'