fix ad_banner. new ad_image with best size from ad_banner. content editable at tab
This commit is contained in:
1 parent
5d5e798b1a
commit
16ada34585
9 files changed
+159
-13
No files matched your search
@@ -6,7 +6,7 @@ class Admin::AdBannersController < OrbitBackendController
|
||||
|
||||
def rename
|
||||
@ad_banner = AdBanner.find(params[:id])
|
||||
@ad_banner.title = Nokogiri::HTML.fragment(params["body"]).at("a").children().to_s
|
||||
@ad_banner.title = params[:body]
|
||||
render :json => {:success =>@ad_banner.save!}
|
||||
end
|
||||
def destroy
|
||||
|
||||
Reference in new issue
Block a user