Remove location from response by default

This commit is contained in:
ccocchi 2012-11-12 17:16:51 +01:00
parent 286f08eb83
commit fa6239a564

View File

@ -36,7 +36,7 @@ module RablRails
options[:prefixes] = controller._prefixes
options[:template] ||= template
controller.default_render options.merge(status: :created, location: api_location)
controller.default_render options.merge(status: :created)
else
head :no_content
end