summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2017-07-26 21:22:43 +0900
committerHiroyuki Sato <sathiroyuki@gmail.com>2017-07-27 21:13:16 +0900
commit5c51db0bce6d0f1b94aaf14d1ac9c8d70f7f9468 (patch)
tree89a31bf1071f14833f41f5faf13285cc7cd6270d
parenta7d49c39276955f9accc6bf79b71abd350a0f161 (diff)
downloadgitlab-ce-5c51db0bce6d0f1b94aaf14d1ac9c8d70f7f9468.tar.gz
Use simplified route
-rw-r--r--app/views/projects/wikis/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml
index e2d835d8af0..8fd60216536 100644
--- a/app/views/projects/wikis/edit.html.haml
+++ b/app/views/projects/wikis/edit.html.haml
@@ -4,7 +4,7 @@
- if @conflict
.alert.alert-danger
Someone edited the page the same time you did. Please check out
- = link_to "the page", namespace_project_wiki_path(@project.namespace, @project, @page), target: "_blank"
+ = link_to "the page", project_wiki_path(@project, @page), target: "_blank"
and make sure your changes will not unintentionally remove theirs.
.wiki-page-header.has-sidebar-toggle