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