]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/oauth.rb
Inline welcome/fixthemap sprites
[rails.git] / config / initializers / oauth.rb
index 57b89564ffc239bef207abf47fe0abadfe9d51b0..fbe4ad219161a6c87d58c872a98aced64b1acdfd 100644 (file)
@@ -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