]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/oauth_controller.rb
Include the event type in the JSON output of a note
[rails.git] / app / controllers / oauth_controller.rb
index 295b01bb47cc0bb6eada5d463d3e035748ab39a8..d4d1bd8883d942fa0e4858271f43e6acafa6e046 100644 (file)
@@ -59,7 +59,7 @@ protected
             "oauth_token=#{@token.token}" :
               @redirect_url.query + "&oauth_token=#{@token.token}"
             unless @token.oauth10?
             "oauth_token=#{@token.token}" :
               @redirect_url.query + "&oauth_token=#{@token.token}"
             unless @token.oauth10?
-              @redirect_url.query + "&oauth_verifier=#{@token.verifier}"
+              @redirect_url.query += "&oauth_verifier=#{@token.verifier}"
             end
             redirect_to @redirect_url.to_s
           else
             end
             redirect_to @redirect_url.to_s
           else