Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/snorlax.rb

Class Method Summary collapse

Class Method Details

.snorlax_used_rest!Object

Method to allow controllers to apply Snorlax to themselves (g@nked from Inherited resources: github.com/josevalim/inherited_resources/blob/master/lib/inherited_resources.rb)



10
11
12
# File 'lib/snorlax.rb', line 10

def self.snorlax_used_rest!
  Snorlax::Base.snorlax_used_rest!(self)
end