Disable ad_banner_preview. Just show window
This commit is contained in:
1 parent
e7bb9ea86b
commit
bbcdaf00e7
2 files changed
+1
-2
No files matched your search
@@ -46,7 +46,7 @@ class Admin::AdBannersController < ApplicationController
|
||||
|
||||
def realtime_preview
|
||||
@ad_banner = AdBanner.first(conditions: { title: params[:title] }).preview_clone
|
||||
@ad_banner.update_attributes(params[:ad_banner]).update_attributes(params[:ad_images])
|
||||
#@ad_banner.update_attributes(params[:ad_banner]).update_attributes(params[:ad_images])
|
||||
end
|
||||
|
||||
def index
|
||||
|
||||
Reference in new issue
Block a user