Sha256: 9c8973f6ae3ca9507f4bee5eca4ddb4013eb5cb598704c177f9994bc72a6f272

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

Rails.application.routes.draw do
  resources :event_export_files

  resources :event_import_files

  resources :events do
    resources :picture_files
  end
  resources :event_categories
  resources :libraries do
    resources :events
  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

2 entries across 2 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre20 config/routes.rb
enju_event-0.1.17.pre19 config/routes.rb