Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/snorlax.rb
Class Method Summary collapse
-
.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).
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 |