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

24 lines
839 B
Ruby
Raw Normal View History

2012-09-17 13:36:40 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :location do
namespace :back_end do
2013-11-12 08:39:08 +00:00
match 'location_categories/list' => "location_categories#list"
2013-11-19 08:23:30 +00:00
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"
2013-11-12 08:39:08 +00:00
resources :location_categories
match "locations/get_locations" => "locations#get_locations"
match "locations/get_categories" => "locations#get_categories"
2012-09-17 13:36:40 +00:00
resources :locations
end
namespace :front_end do
resources :locations
end
namespace :widget do
match "location_widget" => "locations#location_widget"
end
end
end
2012-09-17 13:36:40 +00:00
end