Sha256: bef11750baf4274af60e0c4481e5603bddab52348c201c0887064e0b78c7322f
Contents?: true
Size: 285 Bytes
Versions: 3
Compression:
Stored size: 285 Bytes
Contents
require 'cancan/exceptions' module ErratumResponsum class NothingAccessibleBy < CanCan::AccessDenied def initialize(model) # noinspection RubyArgCount super format('You\'re not allowed to access that %<model>s', model: model), nil, model end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
erratum_responsum-0.2.0 | lib/erratum_responsum/cancancan.rb |
erratum_responsum-0.1.1 | lib/erratum_responsum/cancancan.rb |
erratum_responsum-0.1.0 | lib/erratum_responsum/cancancan.rb |