Skip to content

Instantly share code, notes, and snippets.

@Mikr0Tik
Created October 1, 2008 09:12
Show Gist options
  • Save Mikr0Tik/14056 to your computer and use it in GitHub Desktop.
Save Mikr0Tik/14056 to your computer and use it in GitHub Desktop.
map.with_options :controller=>'people' do |people|
people.people '/:continent', :action=>"index", :conditions=>{:method=>'get'},
:requirements=>{:continent=>/(asia|europe|america|africa|australia)/}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment