Skip to content

Instantly share code, notes, and snippets.

@netguru
Created January 26, 2009 17:59
Show Gist options
  • Save netguru/52891 to your computer and use it in GitHub Desktop.
Save netguru/52891 to your computer and use it in GitHub Desktop.
map.resource :posts, :collection => { :search => [:get, :post] }
map.session 'session', :requirements => { :method => [:get, :post, :delete] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment