Commit bfc1f50ffc677b34126e5f2b8e76b4a58f9b2656

Authored by Braulio Bhavamitra
1 parent f7708ef3

Remove browse controller routes

Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
config/routes.rb
@@ -51,10 +51,6 @@ ActionController::Routing::Routes.draw do |map| @@ -51,10 +51,6 @@ ActionController::Routing::Routes.draw do |map|
51 # search 51 # search
52 map.connect 'search/:action/*category_path', :controller => 'search' 52 map.connect 'search/:action/*category_path', :controller => 'search'
53 53
54 - # Browse  
55 - map.connect 'browse/:action/:filter', :controller => 'browse'  
56 - map.connect 'browse/:action', :controller => 'browse'  
57 -  
58 # events 54 # events
59 map.events 'profile/:profile/events_by_day', :controller => 'events', :action => 'events_by_day', :profile => /#{Noosfero.identifier_format}/ 55 map.events 'profile/:profile/events_by_day', :controller => 'events', :action => 'events_by_day', :profile => /#{Noosfero.identifier_format}/
60 map.events 'profile/:profile/events/:year/:month/:day', :controller => 'events', :action => 'events', :year => /\d*/, :month => /\d*/, :day => /\d*/, :profile => /#{Noosfero.identifier_format}/ 56 map.events 'profile/:profile/events/:year/:month/:day', :controller => 'events', :action => 'events', :year => /\d*/, :month => /\d*/, :day => /\d*/, :profile => /#{Noosfero.identifier_format}/