Sfoglia il codice sorgente

Add extra Layar properties to POIs

master
Adrian Short 12 anni fa
parent
commit
37c0529c52
1 ha cambiato i file con 14 aggiunte e 1 eliminazioni
  1. +14
    -1
      app/helpers/posts_helper.rb

+ 14
- 1
app/helpers/posts_helper.rb Vedi 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

Caricamento…
Annulla
Salva