X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..d57dd1f4da4d4605f534607b69944e3c977e4db5:/config/initializers/oauth.rb?ds=sidebyside diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index 57b89564f..812e6610d 100644 --- a/config/initializers/oauth.rb +++ b/config/initializers/oauth.rb @@ -40,12 +40,12 @@ module OpenStreetMap 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 @@ -61,7 +61,7 @@ module OpenStreetMap end end - super controller + super end end end