Fix for ad_image

This commit is contained in:
chris committed 2012-11-20 15:47:07 +08:00
1 parent 7416020161
commit 6273300c28
2 files changed
+10 -5

No files matched your search

@@ -1,8 +1,13 @@
class Admin::AdImagesController < OrbitBackendController
class Admin::AdImagesController < Admin::AdBannersController
before_filter :force_order_for_user
before_filter :for_app_sub_manager
before_filter :for_app_manager
# before_filter :force_order_for_user
# before_filter :for_app_sub_manager
# before_filter :for_app_manager
def initialize
super
@app_title = "ad_banner"
end
def edit
@ad_banner = AdBanner.find params[:ad_banner_id]