config/routes.rb in enju_event-0.1.17.pre21 vs config/routes.rb in enju_event-0.1.17.pre22
- old
+ new
@@ -1,18 +1,10 @@
Rails.application.routes.draw do
resources :event_export_files
resources :event_import_files
- resources :events do
- resources :picture_files
- end
+ resources :events
resources :event_categories
- resources :libraries do
- resources :events
- end
resources :event_import_results, :only => [:index, :show, :destroy]
resources :participates
-
- get '/calendar(/:year(/:month))' => 'calendar#index', :as => :calendar, :constraints => {:year => /\d{4}/, :month => /\d{1,2}/}
- get "/calendar/:year/:month/:day" => "calendar#show"
end