module Balrog::ViewHelpers
ViewHelpers
methods are made available in all views by the code in engine.rb.
Public Instance Methods
balrog_omniauth_configured?()
click to toggle source
# File lib/balrog/view_helpers.rb, line 21 def balrog_omniauth_configured? !!Balrog::Middleware.omniauth_config end
show_balrog_password_prompt?()
click to toggle source
# File lib/balrog/view_helpers.rb, line 17 def show_balrog_password_prompt? !!Balrog::Middleware.password_hash || !Balrog::Middleware.omniauth_config end