Skip to content

Instantly share code, notes, and snippets.

@netguru
Created January 26, 2009 17:34
Show Gist options
  • Save netguru/52877 to your computer and use it in GitHub Desktop.
Save netguru/52877 to your computer and use it in GitHub Desktop.
map.resources :products, :only => :show do |product|
product.resources :images, :except => :destroy
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment