Permalink
Browse files

Redmine 2.0 compatible changes to routes

  • Loading branch information...
1 parent 56bf9bb commit 6d932da6e68a9a0aac3bbc917cbb7c58958d7422 @Vanuan Vanuan committed Jun 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 config/routes.rb
View
@@ -1,4 +1,4 @@
-ActionController::Routing::Routes.draw do |map|
- map.resources :gollum, :path_prefix => '/projects/:project_id'
- map.resource :gollum_wiki, :path_prefix => '/projects/:project_id'
+resources :projects do
+ resources :gollum
+ resource :gollum_wiki
end

0 comments on commit 6d932da

Please sign in to comment.