Skip to content
Snippets Groups Projects
Commit 8c4b6d42 authored by Douwe Maan's avatar Douwe Maan
Browse files

Set head panel title of help section.

parent 610ed70f
Branches
Tags
1 merge request!593Add a page title to every page.
Pipeline #
class HelpController < ApplicationController
before_action :set_title
def index
end
 
Loading
Loading
@@ -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)
Loading
Loading
- page_title "Help"
%div
%h1
GitLab
Loading
Loading
- 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment