Module: Modyo::Authenticate::InstanceMethods
- Defined in:
- app/models/modyo/authenticate.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_with_modyo ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'app/models/modyo/authenticate.rb', line 12 def authenticate_with_modyo if session[:user] true else redirect_to '/modyo' end end |