Sidebar content

This commit is contained in:
Godwin
2014-07-12 20:19:48 -06:00
parent e1bbbe1a6b
commit cd00ef679e
11 changed files with 140 additions and 68 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ module ApplicationHelper
url = "http://maps.googleapis.com/maps/api/staticmap?center=#{location}&zoom=#{zoom}&size=#{width}x#{height}&maptype=roadmap&markers=size:small%7C#{location}&key=AIzaSyAH7U8xUUb8IwDPy1wWuYGprzxf4E1Jj4o"
require 'open-uri'
open(file, 'wb') do |f|
f << open(url).read
f << open(url).read
end
end