Module: TinyAdmin::Plugins::NoAuth::InstanceMethods
- Defined in:
- lib/tiny_admin/plugins/no_auth.rb
Instance Method Summary collapse
Instance Method Details
#authenticate_user! ⇒ Object
11 12 13 |
# File 'lib/tiny_admin/plugins/no_auth.rb', line 11 def authenticate_user! true end |
#current_user ⇒ Object
15 16 17 |
# File 'lib/tiny_admin/plugins/no_auth.rb', line 15 def current_user 'admin' end |
#logout_user ⇒ Object
19 20 21 |
# File 'lib/tiny_admin/plugins/no_auth.rb', line 19 def logout_user nil end |