Skip to content

Commit

Permalink
oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jul 3, 2015
1 parent 39f4367 commit 1012539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/facebook_feed.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<%- @data.each do |post| -%>

<entry>
<id>facebook:post:<%= post["id"] %>:<%= Digest::SHA2.hexdigest((post["message"] rescue "")) %><%= ":#{params[:cachebuster]}" if params[:cachebuster] %></id>
<id>facebook:post:<%= post["id"] %>:<%= Digest::SHA2.hexdigest((post["message"] || "" rescue "")) %><%= ":#{params[:cachebuster]}" if params[:cachebuster] %></id>
<title><%= post["message"] ? post["message"].truncate(120) : post["type"] %></title>
<link href="<%= post["link"] || "https://www.facebook.com/#{post["id"]}" %>" />
<updated><%= post["updated_time"] %></updated>
Expand Down

0 comments on commit 1012539

Please sign in to comment.