diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-30 21:28:07 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-30 21:28:07 +0200 |
commit | 8c4b6d426d11de682db601a5ca585c11bcd0cd23 (patch) | |
tree | 9c7a564ef4828c9b5a7749040442e2ac7dc58f00 /app/controllers/help_controller.rb | |
parent | 610ed70f77dd9a31c63a7b378df5940bcb84300c (diff) | |
download | gitlab-ce-8c4b6d426d11de682db601a5ca585c11bcd0cd23.tar.gz |
Set head panel title of help section.
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r-- | app/controllers/help_controller.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index b405cc7e689..2842151e3bd 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -1,4 +1,6 @@ class HelpController < ApplicationController + before_action :set_title + def index end @@ -44,6 +46,11 @@ class HelpController < ApplicationController private + def set_title + @title = "Help" + @title_url = help_path + end + def path_params params.require(:category) params.require(:file) |