added base image to pro
This commit is contained in:
parent
d48297e36f
commit
428328696a
|
@ -38,12 +38,14 @@ class AdBannersController < ApplicationController
|
|||
}
|
||||
end
|
||||
end
|
||||
base_image = adbanner.base_image.nil? ? 1 : adbanner.base_image
|
||||
{
|
||||
"extras" => {
|
||||
"ad_fx" => adbanner.ad_fx,
|
||||
"speed" => adbanner.speed,
|
||||
"title" => adbanner.title,
|
||||
"timeout" => adbanner.timeout,
|
||||
"base_image" => (base_image - 1),
|
||||
"more" => "More"
|
||||
},
|
||||
"images" => images
|
||||
|
|
Loading…
Reference in New Issue