Add new page button to wiki home
This commit is contained in:
parent
1d7b809a01
commit
25ae737df0
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue