Commit 0bc6c4913a4b2acfe5de1e369be57740e956a7ba
1 parent
328015ed
Exists in
master
and in
29 other branches
ActionItem117: changging routes so I am forced to finish the renaming now
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@904 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
config/routes.rb
... | ... | @@ -44,7 +44,7 @@ ActionController::Routing::Routes.draw do |map| |
44 | 44 | ###################################################### |
45 | 45 | # profile customization - "My profile" |
46 | 46 | map.myprofile 'myprofile/:profile', :controller => 'profile_editor', :action => 'index' |
47 | - map.myprofile 'myprofile/:profile/:controller/:action/:id', :controller => Noosfero.pattern_for_controllers_in_directory('profile_admin') | |
47 | + map.myprofile 'myprofile/:profile/:controller/:action/:id', :controller => Noosfero.pattern_for_controllers_in_directory('myprofile') | |
48 | 48 | |
49 | 49 | |
50 | 50 | ###################################################### |
... | ... | @@ -52,7 +52,7 @@ ActionController::Routing::Routes.draw do |map| |
52 | 52 | ###################################################### |
53 | 53 | # administrative tasks for a environment |
54 | 54 | map.admin 'admin', :controller => 'admin_panel' |
55 | - map.admin 'admin/:controller/:action/:id', :controller => Noosfero.pattern_for_controllers_in_directory('environment_admin') | |
55 | + map.admin 'admin/:controller/:action/:id', :controller => Noosfero.pattern_for_controllers_in_directory('admin') | |
56 | 56 | |
57 | 57 | |
58 | 58 | ###################################################### | ... | ... |