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

Commit

Permalink
Merge pull request #106 from alphagov/fix-json
Browse files Browse the repository at this point in the history
Move browse sectors index JSON into child route
  • Loading branch information
binaryberry committed Jun 20, 2017
2 parents 61cc397 + 925e3d9 commit c7e55a8
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit c7e55a8

Please sign in to comment.