Module: Modyo::Authenticate::ClassMethods
- Defined in:
- app/models/modyo/authenticate.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_with_modyo ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/models/modyo/authenticate.rb', line 3 def authenticate_with_modyo if session[:user] true else redirect_to '/modyo' end end |