Module: Koi::Controller::HasAdminUsers
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/controllers/concerns/koi/controller/has_admin_users.rb
Defined Under Namespace
Modules: Test
Instance Method Summary collapse
- #admin_signed_in? ⇒ Boolean
- #current_admin_user ⇒ Object (also: #current_admin)
Instance Method Details
#admin_signed_in? ⇒ Boolean
14 15 16 |
# File 'app/controllers/concerns/koi/controller/has_admin_users.rb', line 14 def admin_signed_in? current_admin_user.present? end |