This is in my routes file:
scope "(:locale)", locale: /en|es/ do
get "about" => "static_pages#about"
end
I already know that I can use about_path to get the path to the "about" route, but I want to know if there is a method that will return the "about" route and the current locale in this format:
/en/about