mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 20:56:08 +10:00
Make Help accessible for guests.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class HelpController < ApplicationController
|
||||
skip_before_action :authenticate_user!, :reject_blocked
|
||||
|
||||
layout 'help'
|
||||
|
||||
def index
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
- page_title @file.humanize, *@category.split("/").reverse.map(&:humanize)
|
||||
.documentation.wiki
|
||||
= markdown @markdown.gsub('$your_email', current_user.email)
|
||||
= markdown @markdown.gsub('$your_email', current_user.try(:email) || "email@example.com")
|
||||
|
||||
Reference in New Issue
Block a user