Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Move browse sectors index JSON into child route #106

Merged
merged 1 commit into from Jun 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/routes.rb
Expand Up @@ -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

Expand Down