Commit f9e791180621eabb8de33a4ef21039ba858050a0
1 parent
9b52574e
Exists in
master
and in
28 other branches
ActionItem85: better route for test controllers
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@605 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/routes.rb
... | ... | @@ -48,7 +48,7 @@ ActionController::Routing::Routes.draw do |map| |
48 | 48 | ## Test controllers. |
49 | 49 | ## FIXME: this should not be needed |
50 | 50 | ###################################################### |
51 | - map.connect 'test/:action/:id', :controller => 'test' | |
51 | + map.connect 'test/:controller/:action/:id', :controller => /.*test.*/ | |
52 | 52 | |
53 | 53 | ###################################################### |
54 | 54 | ## Public controllers | ... | ... |