Bläddra i källkod

Add extra Layar properties to POIs

master
Adrian Short 12 år sedan
förälder
incheckning
37c0529c52
1 ändrade filer med 14 tillägg och 1 borttagningar
  1. +14
    -1
      app/helpers/posts_helper.rb

+ 14
- 1
app/helpers/posts_helper.rb Visa fil

@@ -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

Laddar…
Avbryt
Spara