diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-11 13:12:55 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-11 13:12:55 -0600 |
commit | bd09b2d563d7190ab26f820401e4d981022022c8 (patch) | |
tree | 348b983da940bc4b0c1898a57cd24c6aee6c5c65 | |
parent | 3358afa758c7db96ea8fce2a10cdf9c0abe85216 (diff) | |
download | gitlab-ce-bd09b2d563d7190ab26f820401e4d981022022c8.tar.gz |
Clean path info
-rw-r--r-- | app/controllers/help_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index d5dc894e0bd..d3dd98c8a4e 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -12,7 +12,7 @@ class HelpController < ApplicationController end def show - @path = path_params[:path] + @path = clean_path_info(path_params[:path]) respond_to do |format| format.any(:markdown, :md, :html) do |