summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.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/projects/edit.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/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 27a94fe02dc..57af167180b 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -23,7 +23,7 @@
.form-group.project-visibility-level-holder
= f.label :visibility_level, class: 'label-light' do
Visibility Level
- = link_to "(?)", help_page_path("public_access", "public_access")
+ = link_to "(?)", help_page_path("public_access/public_access")
- if can_change_visibility_level?(@project, current_user)
= render('shared/visibility_radios', model_method: :visibility_level, form: f, selected_level: @project.visibility_level, form_model: @project)
- else