Commit 0f4c4f7f989b44793ce0989f9955ac8b58f37d28

Authored by AntonioTerceiro
1 parent 46188dbf

ActionItem117: finishing renaming of folders



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@916 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
config/environment.rb
... ... @@ -12,9 +12,9 @@ require File.join(File.dirname(__FILE__), 'boot')
12 12  
13 13 # extra directories for controllers organization
14 14 extra_controller_dirs = %w[
15   - app/controllers/profile_admin
16   - app/controllers/environment_admin
17   - app/controllers/system_admin
  15 + app/controllers/my_profile
  16 + app/controllers/admin
  17 + app/controllers/system
18 18 app/controllers/public
19 19 ].map {|item| File.join(RAILS_ROOT, item) }
20 20  
... ...
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('myprofile')
  47 + map.myprofile 'myprofile/:profile/:controller/:action/:id', :controller => Noosfero.pattern_for_controllers_in_directory('my_profile')
48 48  
49 49  
50 50 ######################################################
... ...