Method: CanCan::ControllerAdditions#unauthorized!

Defined in:
lib/cancan/controller_additions.rb

#unauthorized!(message = nil) ⇒ Object



341
342
343
# File 'lib/cancan/controller_additions.rb', line 341

def unauthorized!(message = nil)
  raise ImplementationRemoved, "The unauthorized! method has been removed from CanCan, use authorize! instead."
end