Module: EngineRoom::ViewMethods

Defined in:
lib/engine_room/action_view/view_methods.rb

Instance Method Summary collapse

Instance Method Details

#authorized?(options = nil) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/engine_room/action_view/view_methods.rb', line 3

def authorized?(options=nil)
  current_er_devise_user.is_admin?
end