Module: Garnish::Controller::ClassMethods
- Defined in:
- lib/garnish/controller.rb
Instance Method Summary collapse
-
#garnish(options = {}, &block) ⇒ undefined
Set the responder and respond_to formats.
Instance Method Details
#garnish(options = {}, &block) ⇒ undefined
Set the responder and respond_to formats
15 16 17 18 |
# File 'lib/garnish/controller.rb', line 15 def garnish( = {}, &block) self.responder = Garnish::Responder respond_to :html end |