Module: Ixtlan::Allowed::InstanceMethods

Defined in:
lib/ixtlan/guard.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#allowed(resource, action, locale = nil) ⇒ Object



36
37
38
# File 'lib/ixtlan/guard.rb', line 36

def allowed(resource, action, locale = nil)
  ::Ixtlan::Guard.check(helpers.controller, resource, action, locale)
end