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
end
end
end
end
- super controller
+ super
end
end
end