Created
December 5, 2011 16:15
-
-
Save sauberia/1434132 to your computer and use it in GitHub Desktop.
Example named routes locales
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
named_routes: | |
article: '/news/:y/:m/:d/:article_slug(/:country_slug)(/:page)' | |
articles: '/news(/:country_slug)(/:page)' | |
country_services: '/products-and-services' | |
country_service: '/products-and-services/:service_slug' | |
fr: | |
named_routes: | |
article: '/nouvelles/:y/:m/:d/:article_slug(/:country_slug)(/:page)' | |
articles: '/nouvelles(/:country_slug)(/:page)' | |
country_services: '/produits-et-services' | |
country_service: '/produits-et-services/:service_slug' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment