AdBanner i18n vars patch

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-04-13 17:24:30 +08:00
1 parent 430b0fd9ae
commit d81ca40f90
5 files changed
+20 -5

No files matched your search

@@ -39,8 +39,10 @@ class Admin::AdBannersController < ApplicationController
redirect_to admin_ad_banners_url
end
def destroy_ad_image
def realtime_preview
@ad_banner = AdBanner.find(params[:id])
@ad_banner.update_attributes(params[:ad_banner])
render
end
def index