Commit f7acf324052ec0447f410b3753375655bf380f6c
1 parent
b8e6eb41
Exists in
master
and in
29 other branches
ActionItem514: re added a route to make application controller and
my_profile controller tests work git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2238 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
config/routes.rb
... | ... | @@ -15,7 +15,9 @@ ActionController::Routing::Routes.draw do |map| |
15 | 15 | ## Public controllers |
16 | 16 | ###################################################### |
17 | 17 | |
18 | - # You can have the root of your site routed by hooking up '' | |
18 | + map.connect 'test/:controller/:action/:id' , :controller => /.*test.*/ | |
19 | + | |
20 | + # You can have the root of your site routed by hooking up '' | |
19 | 21 | # -- just remember to delete public/index.html. |
20 | 22 | map.connect '', :controller => "home" |
21 | 23 | ... | ... |