changed ann default image name
This commit is contained in:
parent
9745d09990
commit
d0e9ffbf39
|
@ -81,7 +81,7 @@ class AnnouncementsController < ApplicationController
|
||||||
"postdate" => a.postdate,
|
"postdate" => a.postdate,
|
||||||
"author" => author,
|
"author" => author,
|
||||||
"link_to_show" => OrbitHelper.widget_item_url(a.to_param),
|
"link_to_show" => OrbitHelper.widget_item_url(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
|
"img_description" => a.image_description
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue