Sha256: b8feec2722fa019d76cd75a3aeb278ec2df0a4ce435e49e932ef0a142233cc25
Contents?: true
Size: 295 Bytes
Versions: 3
Compression:
Stored size: 295 Bytes
Contents
module Forem class ApplicationController < ::ApplicationController 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
3 entries across 3 versions & 2 rubygems