diff options
| author | mo khan <mo@mokhan.ca> | 2014-01-05 20:52:07 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-01-05 20:52:07 -0700 |
| commit | 2717861f730b382e7f683081ceea00d6344b67e4 (patch) | |
| tree | 389d39320aa53ab5c0c324120eb536da7221dedf /app/controllers/profiles_controller.rb | |
| parent | f7dfc2eea480ef6ca3eb6ad71db19b20451b0213 (diff) | |
remove turbolinks.
Diffstat (limited to 'app/controllers/profiles_controller.rb')
| -rw-r--r-- | app/controllers/profiles_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 1ee8d76a..376ba28d 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -10,7 +10,7 @@ class ProfilesController < ApplicationController @user = User.find(params[:id]) @creations = @user.creations.includes([:user, :photos]).page(params[:page]).per(18) @nearby_users = @user.nearbys(50) || [] - @map_url = "http://maps.google.com/maps/api/staticmap?size=450x300&sensor=false&markers=#{@user.latitude}%2C#{@user.longitude}" + @map_url = "https://maps.google.com/maps/api/staticmap?size=450x300&sensor=false&markers=#{@user.latitude}%2C#{@user.longitude}" @nearby_users.each do |user| @map_url += "&markers=#{user.latitude}%2C#{user.longitude}" end |
