From cd5de4518317da482bb40a7626d6cfeeecaccf2e Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 10 Mar 2015 18:26:43 +0800 Subject: [PATCH] fix for default image --- app/controllers/announcements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 5f9f4a2..e780526 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -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