Browse Source

Typo on key name prevented images being displayed

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

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

@@ -3,7 +3,7 @@ module PostsHelper
# http://layar.com/documentation/browser/api/getpois-response/
{
:id => post._id,
:imageUrl => "%s%s/assets/layar-icons/tal-logo-100.png" % [ request.protocol, request.env['HTTP_HOST'] ],
:imageURL => "%s%s/assets/layar-icons/tal-logo-100.png" % [ request.protocol, request.env['HTTP_HOST'] ],
:anchor => {
:geolocation => {
:lat => post.loc['lat'],


Loading…
Cancel
Save