Skip to content

Instantly share code, notes, and snippets.

@spacegauch0
Last active December 17, 2015 04:29
Show Gist options
  • Select an option

  • Save spacegauch0/5550909 to your computer and use it in GitHub Desktop.

Select an option

Save spacegauch0/5550909 to your computer and use it in GitHub Desktop.
Backend::Application.routes.draw do
namespace :manager do
resources :projects do
scope :module => "projects" do
resources :activities, as: 'activity', path: 'activity', only: [:index, :destroy]
resources :milestones
resources :tickets
resources :invoices
resources :attachments, as: 'files', path: 'files', controller: 'files'
end
end
end
root to: 'manager/projects#index'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment