Sha256: 9a1e0a111a8e47975fd570377856b9118396beb0f05d5c9e0e7bafab8d22e41e

Contents?: true

Size: 578 Bytes

Versions: 26

Compression:

Stored size: 578 Bytes

Contents

Rails.application.routes.draw do
  resources :events do
    resources :picture_files
  end
  resources :event_categories
  resources :libraries do
    resources :events
  end
  resources :event_import_files do
    resources :event_import_results, :only => [:index, :show, :destroy]
  end
  resources :event_import_results, :only => [:index, :show, :destroy]
  resources :participates

  match '/calendar(/:year(/:month))' => 'calendar#index', :as => :calendar, :constraints => {:year => /\d{4}/, :month => /\d{1,2}/}
  match "/calendar/:year/:month/:day" => "calendar#show"
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre18 config/routes.rb
enju_event-0.1.17.pre17 config/routes.rb
enju_event-0.1.17.pre16 config/routes.rb
enju_event-0.1.17.pre15 config/routes.rb
enju_event-0.1.17.pre14 config/routes.rb
enju_event-0.1.17.pre13 config/routes.rb
enju_event-0.1.17.pre12 config/routes.rb
enju_event-0.1.17.pre11 config/routes.rb
enju_event-0.1.17.pre10 config/routes.rb
enju_event-0.1.17.pre9 config/routes.rb
enju_event-0.1.17.pre8 config/routes.rb
enju_event-0.1.17.pre7 config/routes.rb
enju_event-0.1.17.pre6 config/routes.rb
enju_event-0.1.17.pre5 config/routes.rb
enju_event-0.1.17.pre4 config/routes.rb
enju_event-0.1.17.pre3 config/routes.rb
enju_event-0.1.17.pre2 config/routes.rb
enju_event-0.1.17.pre config/routes.rb
enju_event-0.1.16 config/routes.rb
enju_event-0.1.15 config/routes.rb