fix for default image
This commit is contained in:
parent
d0e9ffbf39
commit
cd5de45183
|
@ -27,7 +27,7 @@ class AnnouncementsController < ApplicationController
|
|||
"postdate" => a.postdate,
|
||||
"author" => author,
|
||||
"link_to_show" => OrbitHelper.url_to_show(a.to_param),
|
||||
"img_src" => a.image.thumb.url || "http://placehold.it/100x100",
|
||||
"img_src" => a.image.thumb.url || "/assets/announcement-default.jpg",
|
||||
"img_description" => a.image_description,
|
||||
"more" => t(:more_plus),
|
||||
"view_count" => a.view_count
|
||||
|
|
Loading…
Reference in New Issue