]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/3078'
authorTom Hughes <tom@compton.nu>
Wed, 3 Feb 2021 14:48:24 +0000 (14:48 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 3 Feb 2021 14:48:24 +0000 (14:48 +0000)
1  2 
config/routes.rb

diff --combined config/routes.rb
index 5f904f06e462051b2a75a32bc5db276d4f23d707,bd6f3034dff25a7d5590daa0bf2c62b17fd00182..97cedd9652b9e6f54a100e37f1037011f5b430b3
@@@ -59,6 -59,8 +59,6 @@@ OpenStreetMap::Application.routes.draw 
  
      get "trackpoints" => "api/tracepoints#index"
  
 -    get "changes" => "api/changes#index"
 -
      get "user/:id" => "api/users#show", :id => /\d+/, :as => :api_user
      get "user/details" => "api/users#details"
      get "user/gpx_files" => "api/users#gpx_files"
    # omniauth
    get "/auth/failure" => "users#auth_failure"
    match "/auth/:provider/callback" => "users#auth_success", :via => [:get, :post], :as => :auth_success
-   match "/auth/:provider" => "users#auth", :via => [:get, :post], :as => :auth
+   post "/auth/:provider" => "users#auth", :as => :auth
  
    # permalink
    get "/go/:code" => "site#permalink", :code => /[a-zA-Z0-9_@~]+[=-]*/, :as => :permalink