fix for banner and image default text..

This commit is contained in:
Harry Bomrah 2015-02-24 15:10:15 +05:30
parent c5a8cbc063
commit 9d549ae12a
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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