Updated location json visibility

This commit is contained in:
saurabhbhatia committed 2013-10-03 18:20:16 +08:00
1 parent fea0540ec3
commit 4cd455441f
1 file changed
+1 -1
@@ -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