Commit c258e977 authored by Douwe Maan's avatar Douwe Maan

Make Help accessible for guests.

parent e0da2c35
class HelpController < ApplicationController
skip_before_action :authenticate_user!, :reject_blocked
layout 'help'
def index
......
- 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")
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