2012-09-17 13:36:40 +00:00
|
|
|
Rails.application.routes.draw do
|
2012-11-07 17:26:33 +00:00
|
|
|
namespace :panel do
|
2013-01-15 09:47:00 +00:00
|
|
|
namespace :location do
|
2012-11-07 17:26:33 +00:00
|
|
|
namespace :back_end do
|
2014-01-14 03:39:20 +00:00
|
|
|
match 'location_categories/list' => "location_categories#list"
|
|
|
|
match "locations/get_locations" => "locations#get_locations"
|
|
|
|
match "locations/get_categorywise_locations" => "locations#get_categorywise_locations"
|
|
|
|
match "locations/get_location_categories" => "locations#get_location_categories"
|
|
|
|
resources :location_categories
|
2012-11-07 17:26:33 +00:00
|
|
|
match "locations/get_locations" => "locations#get_locations"
|
2013-06-14 08:08:30 +00:00
|
|
|
match "locations/get_categories" => "locations#get_categories"
|
2012-09-17 13:36:40 +00:00
|
|
|
|
2012-11-07 17:26:33 +00:00
|
|
|
resources :locations
|
|
|
|
end
|
2014-01-14 03:39:20 +00:00
|
|
|
namespace :front_end do
|
|
|
|
resources :locations
|
|
|
|
end
|
|
|
|
namespace :widget do
|
|
|
|
match "location_widget" => "locations#location_widget"
|
|
|
|
end
|
2012-11-07 17:26:33 +00:00
|
|
|
end
|
|
|
|
end
|
2012-09-17 13:36:40 +00:00
|
|
|
end
|