Remove location from response by default
This commit is contained in:
parent
286f08eb83
commit
fa6239a564
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user