From 38197058c054006e003c78ef200b1536ef4998d6 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Fri, 29 Jun 2012 14:56:23 +0100 Subject: [PATCH] Typo on key name prevented images being displayed --- app/helpers/posts_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/posts_helper.rb b/app/helpers/posts_helper.rb index 2cac7e4..205a612 100644 --- a/app/helpers/posts_helper.rb +++ b/app/helpers/posts_helper.rb @@ -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'],