add route to pass locale

This commit is contained in:
Adam Hoyle 2021-08-10 10:13:24 +01:00
parent 86912a61df
commit 26aecfb2bf
2 changed files with 2 additions and 1 deletions

View file

@ -148,6 +148,7 @@ OpenStreetMap::Application.routes.draw do
get "/about/:about_locale" => "site#about"
get "/about" => "site#about"
get "/communities" => "site#communities"
get "/communities/:communities_locale" => "site#communities"
get "/history" => "changesets#index"
get "/history/feed" => "changesets#feed", :defaults => { :format => :atom }
get "/history/comments/feed" => "changeset_comments#index", :as => :changesets_comments_feed, :defaults => { :format => "rss" }