Method: MailserviceController#is_admin
- Defined in:
- app/controllers/mailservice_controller.rb
#is_admin ⇒ Object
Returns true if the user is an administrator and false otherwise
133 134 135 |
# File 'app/controllers/mailservice_controller.rb', line 133 def is_admin user_admin? rescue false end |