Module: RemoteBootstrapModal::Responder

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/remote_bootstrap_modal/responder.rb

Instance Method Summary collapse

Instance Method Details

#respond_modal_with(*args, &blk) ⇒ Object



7
8
9
10
11
# File 'app/controllers/concerns/remote_bootstrap_modal/responder.rb', line 7

def respond_modal_with(*args, &blk)
  options = args.extract_options!
  options[:responder] = ModalResponder
  respond_with *args, options, &blk
end