Module: Graphiti::Rails::Responders

Extended by:
ActiveSupport::Concern
Defined in:
lib/graphiti/rails/responders.rb

Instance Method Summary collapse

Instance Method Details

#respond_with(*args, &blk) ⇒ Object

Override to avoid location url generation (for now)



13
14
15
16
17
18
# File 'lib/graphiti/rails/responders.rb', line 13

def respond_with(*args, &blk)
  opts = args.extract_options!
  opts[:location] = nil
  args << opts
  super(*args, &blk)
end