Module: CanTango::Ability::Helper::Permits

Defined in:
lib/cantango/permits_ext/ability/helper/permits.rb

Instance Method Summary collapse

Instance Method Details

#permits?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/cantango/permits_ext/ability/helper/permits.rb', line 3

def permits?
  CanTango.config.permits.on?
end