method
observer
v1.0.0 -
Show latest stable
- Class:
ActionController::Dependencies::ClassMethods
observer(*observers)public
Specifies a variable number of observers that are to govern when this controller is handling actions. The observers will automatically have .instance called on them to make them active on assignment.