瀏覽代碼

Use new lat/lon and feed title attributes

master
Adrian Short 12 年之前
父節點
當前提交
75259fefb9
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      app/helpers/posts_helper.rb

+ 3
- 3
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 => [
{


Loading…
取消
儲存