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

Make Help accessible for guests.

parent e0da2c35
No related merge requests found
class HelpController < ApplicationController
skip_before_action :authenticate_user!, :reject_blocked
layout 'help'
 
def index
Loading
Loading
- 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")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment