mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
Remove render override
This commit is contained in:
parent
40c3ce8694
commit
32e1455c58
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue