diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-15 13:15:18 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-15 13:15:18 -0400 |
commit | 2d4ffce826ef86af6bc69385ded6830297a8467f (patch) | |
tree | ecf5e12e2eaaaf4b8afc9f4569ce76a7ecd6523a /app/controllers/help_controller.rb | |
parent | 3052e894207303bf9fed972aa60d3a655a6c58d9 (diff) | |
download | gitlab-ce-2d4ffce826ef86af6bc69385ded6830297a8467f.tar.gz |
Loosen help page parameter constraints for category
Diffstat (limited to 'app/controllers/help_controller.rb')
-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 10094d86dfb..35ece5b270b 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -4,7 +4,7 @@ class HelpController < ApplicationController def show category = clean_path_info(path_params[:category]) - file = clean_path_info(path_params[:file]) + file = path_params[:file] respond_to do |format| format.any(:markdown, :md, :html) do |