Updated location json visibility
This commit is contained in:
parent
fea0540ec3
commit
4cd455441f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue