1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Remove render override

This commit is contained in:
kbparauga 2015-04-25 15:50:43 +08:00
parent 40c3ce8694
commit 32e1455c58

View file

@ -125,19 +125,7 @@ module Paloma
end
#
# Make sure not to execute paloma on the following response type
#
def render options = nil, extra_options = {}, &block
[:json, :js, :xml, :file].each do |format|
if options.has_key?(format)
self.paloma.clear_request
break
end
end if options.is_a?(Hash)
super
end
protected