Sidebar content
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user