summaryrefslogtreecommitdiff
path: root/app/views/shared/web_hooks/_form.html.haml
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-05-16 17:06:26 -0500
committerConnor Shea <connor.james.shea@gmail.com>2016-07-11 12:55:25 -0600
commit3358afa758c7db96ea8fce2a10cdf9c0abe85216 (patch)
tree74ab1040e343b43706b677e8c8f5582e640ff483 /app/views/shared/web_hooks/_form.html.haml
parent61f0e89484be5aca5d22ab63c72b08575f7e3f6d (diff)
downloadgitlab-ce-3358afa758c7db96ea8fce2a10cdf9c0abe85216.tar.gz
Update the help_page_path route to accept paths directly instead of using parameters.
Diffstat (limited to 'app/views/shared/web_hooks/_form.html.haml')
-rw-r--r--app/views/shared/web_hooks/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/web_hooks/_form.html.haml b/app/views/shared/web_hooks/_form.html.haml
index d1e861ca80c..2585ed9360b 100644
--- a/app/views/shared/web_hooks/_form.html.haml
+++ b/app/views/shared/web_hooks/_form.html.haml
@@ -6,7 +6,7 @@
%h4.prepend-top-0
= page_title
%p
- #{link_to "Webhooks", help_page_path("web_hooks", "web_hooks")} can be
+ #{link_to "Webhooks", help_page_path("web_hooks/web_hooks")} can be
used for binding events when something is happening within the project.
.col-lg-9.append-bottom-default
= form_for hook, as: :hook, url: polymorphic_path(url_components + [:hooks]) do |f|