Module: Graphiti::Responders

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

Instance Method Summary collapse

Instance Method Details

#respond_with(*args, &blk) ⇒ Object

Override to avoid location url generation (for now)



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

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