From 4cd455441f0973dc56f6e4e4adaceb10eb14aaa2 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Thu, 3 Oct 2013 18:20:16 +0800 Subject: [PATCH] Updated location json visibility --- .../controllers/panel/location/back_end/locations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/location/app/controllers/panel/location/back_end/locations_controller.rb b/vendor/built_in_modules/location/app/controllers/panel/location/back_end/locations_controller.rb index 8c3b0a860..2289ba3b7 100644 --- a/vendor/built_in_modules/location/app/controllers/panel/location/back_end/locations_controller.rb +++ b/vendor/built_in_modules/location/app/controllers/panel/location/back_end/locations_controller.rb @@ -2,7 +2,7 @@ class Panel::Location::BackEnd::LocationsController < OrbitBackendController include AdminHelper before_filter :force_order_for_visitor,:only => [:index, :new, :edit, :create, :update, :delete] - before_filter :force_order_for_user,:except => [:get_locations,:index] + before_filter :force_order_for_user,:except => [:get_locations,:index,:get_categorywise_locations] def index @location_infos = LocationInfo.all