Skip to content

Instantly share code, notes, and snippets.

@lscott3
Created December 20, 2011 03:43
Show Gist options
  • Save lscott3/1500132 to your computer and use it in GitHub Desktop.
Save lscott3/1500132 to your computer and use it in GitHub Desktop.
nested resource
scope "/:vanity_url" do
resources :companies, :path => '/clients' do
resources :service_records
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment