orbit-basic/vendor/built_in_modules/location/config/routes.rb

15 lines
417 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :location do
namespace :back_end do
match 'location_categories/list' => "location_categories#list"
resources :location_categories
match "locations/get_locations" => "locations#get_locations"
match "locations/get_categories" => "locations#get_categories"
resources :locations
end
end
end
end