def render(options = {})
text = options.delete(:text)
if text
- super options.merge(:plain => text)
+ super(options.merge(:plain => text))
elsif options.delete(:nothing)
status = options.delete(:status) || :ok
head status, options
else
- super options
+ super(options)
end
end
end
end
- super controller
+ super(controller)
end
end
end