Module: ActsAsPermission::Permitted
- Defined in:
- lib/acts_as_permission.rb
Instance Method Summary collapse
Instance Method Details
#permitted?(object, route) ⇒ Boolean
77 78 79 |
# File 'lib/acts_as_permission.rb', line 77 def permitted?(object, route) object.(route, self) end |