Updated Authorizations for Adbanner, Calendar, Location
This commit is contained in:
1 parent
452da1b8ec
commit
4c217ec12f
7 files changed
+7
-36
No files matched your search
Vendored
-3
@@ -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
@@ -32,6 +32,7 @@ module Location
|
||||
# end
|
||||
|
||||
categorizable
|
||||
authorizable
|
||||
|
||||
side_bar do
|
||||
head_label_i18n 'location.location',:icon_class=>"icons-location"
|
||||
|
||||
Reference in new issue
Block a user