Commit 0d6d8ba582baf20354bf816006a017c92382a1cd
1 parent
b05904aa
Exists in
master
and in
27 other branches
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 | 77 | match 'profile/:profile/search', :controller => 'profile_search', :action => 'index', :profile => /#{Noosfero.identifier_format}/ |
78 | 78 | |
79 | 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 | 82 | # public profile information |
83 | 83 | match 'profile/:profile(/:action(/:id))', :controller => 'profile', :action => 'index', :id => /[^\/]*/, :profile => /#{Noosfero.identifier_format}/ | ... | ... |