summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/wikis/edit.html.haml')
-rw-r--r--app/views/projects/wikis/edit.html.haml3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml
index 26671a7b7d2..1277ea6c743 100644
--- a/app/views/projects/wikis/edit.html.haml
+++ b/app/views/projects/wikis/edit.html.haml
@@ -23,9 +23,6 @@
= s_("Wiki|Create Page")
.nav-controls
- - if can?(current_user, :create_wiki, @project)
- = link_to '#modal-new-wiki', class: "add-new-wiki btn btn-success", "data-toggle" => "modal" do
- = s_("Wiki|New page")
- if @page.persisted?
= link_to project_wiki_history_path(@project, @page), class: "btn" do
= s_("Wiki|Page history")