mirror of https://github.com/rails/rails
1b40bfc8ff
Drawing routes with has keys complicates route drawing enough to warrant deprecation. Transitioning the routing mapper to use keywords would result in a 1.25-1.5x improvement in speed, and it would be substantially easier to do if we drop this feature. ```ruby get "/users" => "users#index" post "/logout" => :sessions mount MyApp => "/my_app" get "/users", to: "users#index" post "/logout", to: "sessions#logout" mount MyApp, at: "/my_app" ``` |
||
---|---|---|
.. | ||
routes.rb |