Sha256: 692b4a139608293ad447687e11ac32a59a2528394bb9ea0e0e6d8cdd45600dc5
Contents?: true
Size: 287 Bytes
Versions: 2
Compression:
Stored size: 287 Bytes
Contents
module Forem class ApplicationController < ActionController::Base private def authenticate_forem_user! if !current_user flash[:notice] = "You must be authenticated before you can do that." redirect_to main_app.sign_in_url end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redlumxn-forem-0.0.2 | app/controllers/forem/application_controller.rb |
redlumxn-forem-0.0.1 | app/controllers/forem/application_controller.rb |