config/routes.rb in enju_event-0.1.10 vs config/routes.rb in enju_event-0.1.11
- old
+ new
@@ -9,6 +9,9 @@
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