Created
September 30, 2008 14:49
-
-
Save Mikr0Tik/13836 to your computer and use it in GitHub Desktop.
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
map.people '/:person', :controller=>:people, | |
:requirements=>{:person=>/(asian|european|american|african|australian)/} | |
i expected: people_path(:person=>'asian') to create /asian but it creates /people?person=asian |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment