X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5bbce23dcd72876c9947d232813efb48fe83eb..7e73286b572597a3b1a91e2d8ceeb1163cf7d9b2:/config/initializers/oauth.rb?ds=sidebyside diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index 57b89564f..fbe4ad219 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(options) end end @@ -61,7 +61,7 @@ module OpenStreetMap end end - super controller + super(controller) end end end