瀏覽代碼

Add extra Layar properties to POIs

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

+ 14
- 1
app/helpers/posts_helper.rb 查看文件

@@ -10,7 +10,20 @@ module PostsHelper
:alt => 0
}
},
:title => post.title
:text => {
:title => post.title,
:description => post.summary,
:footnote => "From #{post.feed.title}"
},
:actions => [
{
:label => "Read more...",
:uri => post.url,
:contentType => "text/html",
:method => "GET",
:activityType => 1
}
]
}
end
end

Loading…
取消
儲存