Commit 0d6d8ba582baf20354bf816006a017c92382a1cd

Authored by Antonio Terceiro
1 parent b05904aa

Fix new route to match Rails 3 format

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/routes.rb
@@ -77,7 +77,7 @@ Noosfero::Application.routes.draw do @@ -77,7 +77,7 @@ Noosfero::Application.routes.draw do
77 match 'profile/:profile/search', :controller => 'profile_search', :action => 'index', :profile => /#{Noosfero.identifier_format}/ 77 match 'profile/:profile/search', :controller => 'profile_search', :action => 'index', :profile => /#{Noosfero.identifier_format}/
78 78
79 # comments 79 # comments
80 - map.comment 'profile/:profile/comment/:action/:id', :controller => 'comment', :profile => /#{Noosfero.identifier_format}/ 80 + match 'profile/:profile/comment/:action/:id', :controller => 'comment', :profile => /#{Noosfero.identifier_format}/
81 81
82 # public profile information 82 # public profile information
83 match 'profile/:profile(/:action(/:id))', :controller => 'profile', :action => 'index', :id => /[^\/]*/, :profile => /#{Noosfero.identifier_format}/ 83 match 'profile/:profile(/:action(/:id))', :controller => 'profile', :action => 'index', :id => /[^\/]*/, :profile => /#{Noosfero.identifier_format}/