diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index d22ee2e..fdecb3d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,8 +3,19 @@ Rails.application.routes.draw do root to: 'welcome#index' - # Resource routes - resources :resources + # Agent routes + resources :agents do + shallow do + # Classification routes + resources :taxonomies do + resources :categories do + resources :sections + end + end + # Resource routes + resources :resources + end + end # User routes get '/my/account', to: 'users#show', as: 'account' |