From 75259fefb90e15aac80ac8f09f1d37693526597d Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Fri, 22 Feb 2013 15:05:29 +0000 Subject: [PATCH] Use new lat/lon and feed title attributes --- app/helpers/posts_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/posts_helper.rb b/app/helpers/posts_helper.rb index 8325f46..3e77a72 100644 --- a/app/helpers/posts_helper.rb +++ b/app/helpers/posts_helper.rb @@ -6,15 +6,15 @@ module PostsHelper :imageURL => "%s%s/assets/layar-icons/tal-logo-100.png" % [ request.protocol, request.env['HTTP_HOST'] ], :anchor => { :geolocation => { - :lat => post.loc['lat'], - :lon => post.loc['lng'], + :lat => post.lat, + :lon => post.lon, :alt => 0 } }, :text => { :title => decode_entities(post.title), :description => clean_description(post.summary), - :footnote => "From #{post.feed.title}" + :footnote => "From #{post.feed_title}" }, :actions => [ {