module Balrog::Helpers
Helpers
methods are made available in all controllers by the code in engine.rb.
Public Instance Methods
authenticate_with_balrog!()
click to toggle source
# File lib/balrog/helpers.rb, line 7 def authenticate_with_balrog! unless authenticated?(session[:balrog]) render 'balrog/gate', layout: 'balrog' end end