Sha256: 8a105cbf103d9d2e5a644a32dfa32373fc6d20e2b72f359681044a67f8778b8c
Contents?: true
Size: 465 Bytes
Versions: 78
Compression:
Stored size: 465 Bytes
Contents
# If you're using Rails + responders gem to get respond_with module Graphiti module Responders extend ActiveSupport::Concern included do include ActionController::MimeResponds respond_to(*Graphiti.config.respond_to) end # Override to avoid location url generation (for now) def respond_with(*args, &blk) opts = args.extract_options! opts[:location] = nil args << opts super(*args, &blk) end end end
Version data entries
78 entries across 78 versions & 2 rubygems