module ModalResponder::Rails::Controller

Public Instance Methods

respond_modal_with(*args, &blk) click to toggle source
# File lib/modal-responder-rails/controller.rb, line 4
def respond_modal_with(*args, &blk)
  options = args.extract_options!
  options[:responder] = ModalResponder
  respond_with *args, options, &blk
end