config/routes.rb in enju_event-0.1.17.pre20 vs config/routes.rb in enju_event-0.1.17.pre21
- old
+ new
@@ -11,8 +11,8 @@
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"
+ get '/calendar(/:year(/:month))' => 'calendar#index', :as => :calendar, :constraints => {:year => /\d{4}/, :month => /\d{1,2}/}
+ get "/calendar/:year/:month/:day" => "calendar#show"
end