Commit 8c4b6d42 authored by Douwe Maan's avatar Douwe Maan

Set head panel title of help section.

parent 610ed70f
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)
......
- page_title "Help"
%div
%h1
GitLab
......
- page_title @file.humanize, *@category.split("/").reverse.map(&:humanize), "Help"
- page_title @file.humanize, *@category.split("/").reverse.map(&:humanize)
.documentation.wiki
= markdown @markdown.gsub('$your_email', current_user.email)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment