X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e4c73424502c578773f1088237c604c709fcf959..93b8c47c8fa1aac86d2d9c730c327c076b578a84:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 5f904f06e..97cedd965 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -171,7 +171,7 @@ OpenStreetMap::Application.routes.draw do # 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