Rails.application.routes.draw do resources :orgs do resources :org_members, path: :members, as: :members resources :org_member_types, path: :member_types, as: :member_types resources :org_member_tags, path: :member_tags, as: :member_tags resources :org_director_types, path: :director_types, as: :director_types resources :org_branch_types, path: :branch_types, as: :branch_tyes resources :org_branches, path: :branches, as: :branches resources :org_activities, path: :activities, as: :activities resources :org_departments, path: :departments, as: :departments do resources :org_department_positions, path: :positions, as: :positions end end end