diff options
Diffstat (limited to 'app/views/shared/wikis/edit.html.haml')
-rw-r--r-- | app/views/shared/wikis/edit.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/wikis/edit.html.haml b/app/views/shared/wikis/edit.html.haml index 729646c2731..15710f0df49 100644 --- a/app/views/shared/wikis/edit.html.haml +++ b/app/views/shared/wikis/edit.html.haml @@ -18,7 +18,7 @@ .nav-controls.pb-md-3.pb-lg-0 - if @page.persisted? - - if can?(current_user, :admin_wiki, @wiki.container) + - if can?(current_user, :create_wiki, @wiki.container) #delete-wiki-modal-wrapper{ data: { delete_wiki_url: wiki_page_path(@wiki, @page), page_title: @page.human_title } } = render 'shared/wikis/form', uploads_path: wiki_attachment_upload_url |