Add force_order_for_user for ad_images
This commit is contained in:
parent
c8bbb28d42
commit
7416020161
|
@ -1,7 +1,8 @@
|
||||||
class Admin::AdImagesController < OrbitBackendController
|
class Admin::AdImagesController < OrbitBackendController
|
||||||
layout 'new_admin'
|
|
||||||
before_filter :authenticate_user!
|
before_filter :force_order_for_user
|
||||||
before_filter :for_app_sub_manager
|
before_filter :for_app_sub_manager
|
||||||
|
before_filter :for_app_manager
|
||||||
|
|
||||||
def edit
|
def edit
|
||||||
@ad_banner = AdBanner.find params[:ad_banner_id]
|
@ad_banner = AdBanner.find params[:ad_banner_id]
|
||||||
|
|
Loading…
Reference in New Issue