Sha256: e3bae4d2869d610e4284ebbfb527dc2b9dd0c9ed7df0916ce141b180a8844fcf

Contents?: true

Size: 851 Bytes

Versions: 11

Compression:

Stored size: 851 Bytes

Contents

Rails.application.routes.draw do
  resources :subject_has_classifications
  resources :subject_heading_types do
    resources :subjects
  end
  resources :subject_heading_type_has_subjects
  resources :classifications do
    resources :subject_has_classifications
  end
  resources :classification_types do
    resources :classifications
  end
  resources :subject_types

  resources :work_has_subjects

  resources :subjects do
    resources :works, :controller => 'manifestations'
    resources :subject_heading_types
    resources :subject_has_classifications
    resources :work_has_subjects
    resources :classifications
  end

  resources :works, :controller => 'manifestations' do
    resources :subjects
    resources :work_has_subjects
  end

  resources :manifestations do
    resources :work_has_subjects
    resources :subjects
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_subject-0.0.16 config/routes.rb
enju_subject-0.0.15 config/routes.rb
enju_subject-0.0.14 config/routes.rb
enju_subject-0.0.13 config/routes.rb
enju_subject-0.0.12 config/routes.rb
enju_subject-0.0.10 config/routes.rb
enju_subject-0.0.9 config/routes.rb
enju_subject-0.0.8 config/routes.rb
enju_subject-0.0.7 config/routes.rb
enju_subject-0.0.6 config/routes.rb
enju_subject-0.0.5 config/routes.rb