Browse Source

Add extra Layar properties to POIs

master
Adrian Short 12 years ago
parent
commit
37c0529c52
1 changed files with 14 additions and 1 deletions
  1. +14
    -1
      app/helpers/posts_helper.rb

+ 14
- 1
app/helpers/posts_helper.rb View File

@@ -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…
Cancel
Save