diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb index b51962c..af605c0 100644 --- a/app/controllers/news_controller.rb +++ b/app/controllers/news_controller.rb @@ -74,7 +74,7 @@ class NewsController < ApplicationController "category" => a.category.title, "postdate" => a.postdate.strftime('%Y-%m-%d'), "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/news_default_image.jpg", "more" => t(:more_plus) } end @@ -124,7 +124,7 @@ class NewsController < ApplicationController "category" => a.category.title, "postdate" => a.postdate, "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/news_default_image.jpg", } end { diff --git a/app/views/admin/news/_form.html.erb b/app/views/admin/news/_form.html.erb index f400c19..a0c902d 100644 --- a/app/views/admin/news/_form.html.erb +++ b/app/views/admin/news/_form.html.erb @@ -127,7 +127,7 @@ <% if @news_bulletin.image.file %> <%= image_tag @news_bulletin.image %> <% else %> - + <% end %>
@@ -147,7 +147,7 @@

- ※<%= t("ad.widget_info_for_ad_image_size", :best_size=> "290px x 150px") %> + ※<%= t("ad.widget_info_for_ad_image_size", :best_size=> "( 200px x 100px )") %>
※<%= t("news.image_size_limit")%>