diff --git a/config/routes.rb b/config/routes.rb index 62731122..086f4b80 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,7 +8,8 @@ get "#{APP_SLUG}/location" => "licence_finder#business_location", :as => :business_location post "#{APP_SLUG}/location" => "licence_finder#business_location_submit", :as => :business_location_submit get "#{APP_SLUG}/licences" => "licence_finder#licences", :as => :licences - get "#{APP_SLUG}/browse-sectors" => "licence_finder#browse_sector_index", :as => :browse_sector_index + get "#{APP_SLUG}/browse-sectors" => "licence_finder#browse_sector_index" + get "#{APP_SLUG}/browse-sectors/index" => "licence_finder#browse_sector_index", :as => :browse_sector_index get "#{APP_SLUG}/browse-sectors/:sector" => "licence_finder#browse_sector", :as => :browse_sector get "#{APP_SLUG}/browse-sectors/:sector_parent/:sector" => "licence_finder#browse_sector_child", :as => :browse_sector_child