fix for banner and image default text..
This commit is contained in:
parent
c5a8cbc063
commit
9d549ae12a
|
@ -14,6 +14,7 @@ class AdBannersController < ApplicationController
|
||||||
|
|
||||||
{
|
{
|
||||||
"image_link" => image_link,
|
"image_link" => image_link,
|
||||||
|
"image_alt" => "ad banner image",
|
||||||
"title" => b.title,
|
"title" => b.title,
|
||||||
"class" => klass,
|
"class" => klass,
|
||||||
"height" => adbanner.height,
|
"height" => adbanner.height,
|
||||||
|
|
|
@ -3,7 +3,7 @@ class Admin::AdBannersController < OrbitAdminController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@banners = Banner.all
|
@banners = Banner.all
|
||||||
@categories = @module_app.categories.collect{|c|[c.title, c.id]}
|
@categories = @module_app.categories.enabled.collect{|c|[c.title, c.id]}
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|
Loading…
Reference in New Issue