Add gmaps_api_key to context is settings entity exists.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 28 Jan 2009 11:26:00 +0000
changeset 1031 9a163d82635d
parent 1030 a0081c626acb
child 1032 ed83d42d1ed7
Add gmaps_api_key to context is settings entity exists. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/soc/views/helper/responses.py
--- a/app/soc/views/helper/responses.py	Wed Jan 28 11:24:34 2009 +0000
+++ b/app/soc/views/helper/responses.py	Wed Jan 28 11:26:00 2009 +0000
@@ -124,7 +124,7 @@
   
   if settings:
     context['ga_tracking_num'] = settings.ga_tracking_num
- 
+    context['gmaps_api_key'] = settings.gmaps_api_key
   context['tos_link'] = redirects.getToSRedirect(settings)
  
   return context