Commit 3badd4de2af58d6a92f52d4c69a25eb9df0bcc24
1 parent
27d58fea
Exists in
master
and in
29 other branches
rails3: add route alias to tag_feed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/routes.rb
... | ... | @@ -68,7 +68,7 @@ Noosfero::Application.routes.draw do |
68 | 68 | match 'profile/:profile/invite/:action', :controller => 'invite', :profile => /#{Noosfero.identifier_format}/ |
69 | 69 | |
70 | 70 | # feeds per tag |
71 | - match 'profile/:profile/tags/:id/feed', :controller => 'profile', :action =>'tag_feed', :id => /.+/, :profile => /#{Noosfero.identifier_format}/ | |
71 | + match 'profile/:profile/tags/:id/feed', :controller => 'profile', :action =>'tag_feed', :id => /.+/, :profile => /#{Noosfero.identifier_format}/, :as => :tag_feed | |
72 | 72 | |
73 | 73 | # profile tags |
74 | 74 | match 'profile/:profile/tags/:id', :controller => 'profile', :action => 'content_tagged', :id => /.+/, :profile => /#{Noosfero.identifier_format}/ | ... | ... |