17 lines
504 B
Ruby
17 lines
504 B
Ruby
Rails.application.routes.draw do
|
|
namespace :panel do
|
|
namespace :location do
|
|
namespace :back_end do
|
|
|
|
match "locations/get_locations" => "locations#get_locations"
|
|
match "locations/get_categorywise_locations" => "locations#get_categorywise_locations"
|
|
|
|
resources :locations
|
|
resources :location_categories, :except => [:show]
|
|
match "location_categories/get_location_categories" => "location_categories#get_location_categories"
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|