Skip to content

Instantly share code, notes, and snippets.

@jwilger
Created September 29, 2008 17:01
Show Gist options
  • Save jwilger/13625 to your computer and use it in GitHub Desktop.
Save jwilger/13625 to your computer and use it in GitHub Desktop.
map.resources :projects do |project|
project.contact_vendors 'project_vendors', :controller => 'project_vendors', :action => 'contact',
:conditions => { :method => :put }
project.resources :project_vendors
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment