Skip to content

Commit

Permalink
Merge 035ffaf into e882cdf
Browse files Browse the repository at this point in the history
  • Loading branch information
hirocaster committed Mar 4, 2018
2 parents e882cdf + 035ffaf commit 54b7afe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api_controller.rb
Expand Up @@ -90,7 +90,7 @@ def subs
link: feed.link.html_escape,
feedlink: feed.feedlink.html_escape,
title: feed.title.utf8_roundtrip.html_escape,
icon: feed.favicon.blank? ? "/img/icon/default.png" : favicon_path(feed.id),
icon: feed.favicon.image.blank? ? "/img/icon/default.png" : favicon_path(feed.id),
modified_on: modified_on ? modified_on.to_time.to_i : 0,
subscribers_count: feed.subscribers_count,
}
Expand Down Expand Up @@ -118,7 +118,7 @@ def lite_subs
link: feed.link.html_escape,
feedlink: feed.feedlink.html_escape,
title: feed.title.utf8_roundtrip.html_escape,
icon: feed.favicon.blank? ? "/img/icon/default.png" : favicon_path(feed.id),
icon: feed.favicon.image.blank? ? "/img/icon/default.png" : favicon_path(feed.id),
modified_on: modified_on ? modified_on.to_time.to_i : 0,
subscribers_count: feed.subscribers_count,
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/about/_feed.html.erb
Expand Up @@ -3,7 +3,7 @@
<div class="feedinfo">
<div class="feed_info">
<div class="channel">
<h3 style="background-image:url('<%= favicon_path(feed.id) %>')">
<h3 style="background-image:url('<%= feed.favicon.image.blank? ? "/img/icon/default.png" : favicon_path(feed.id) %>')">
<%= link_to feed.title, feed.link, id: "feed-title" %>
</h3>
<div class="description"><%= feed.description %></div>
Expand Down

0 comments on commit 54b7afe

Please sign in to comment.