Updated Authorizations for Adbanner, Calendar, Location

This commit is contained in:
saurabhbhatia committed 2013-08-22 15:20:50 +08:00
1 parent 452da1b8ec
commit 4c217ec12f
7 files changed
+7 -36

No files matched your search

@@ -1,9 +1,6 @@
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,:get_categories]
def index
@location_infos = LocationInfo.all
@categories = get_categories_for_index
+1
View File
@@ -32,6 +32,7 @@ module Location
# end
categorizable
authorizable
side_bar do
head_label_i18n 'location.location',:icon_class=>"icons-location"