Set the responder and respond_to formats.
Set the responder and respond_to formats
Examples:
class ApplicationController < ActionController::Base protect_from_forgery garnish end
Returns:
15 16 17 18
# File 'lib/garnish/controller.rb', line 15 def garnish(options = {}, &block) self.responder = Garnish::Responder respond_to :html end