Module: EngineRoom::ViewMethods
- Defined in:
- lib/engine_room/action_view/view_methods.rb
Instance Method Summary collapse
Instance Method Details
#authorized?(options = nil) ⇒ Boolean
3 4 5 |
# File 'lib/engine_room/action_view/view_methods.rb', line 3 def (=nil) current_er_devise_user.is_admin? end |