Updated location json visibility

This commit is contained in:
saurabhbhatia 2013-10-03 18:20:16 +08:00
parent fea0540ec3
commit 4cd455441f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ class Panel::Location::BackEnd::LocationsController < OrbitBackendController
include AdminHelper include AdminHelper
before_filter :force_order_for_visitor,:only => [:index, :new, :edit, :create, :update, :delete] 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 def index
@location_infos = LocationInfo.all @location_infos = LocationInfo.all