class ActionController::Base

Public Class Methods

snorlax_used_rest!() click to toggle source

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)

# File lib/snorlax.rb, line 10
def self.snorlax_used_rest!
  Snorlax::Base.snorlax_used_rest!(self)
end