Make Help accessible for guests.
This commit is contained in:
parent
e0da2c3523
commit
c258e97747
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue