diff --git a/config/routes.rb b/config/routes.rb index 3bb7551..6455588 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -48,7 +48,7 @@ ActionController::Routing::Routes.draw do |map| ## Test controllers. ## FIXME: this should not be needed ###################################################### - map.connect 'test/:action/:id', :controller => 'test' + map.connect 'test/:controller/:action/:id', :controller => /.*test.*/ ###################################################### ## Public controllers -- libgit2 0.21.2