diff options
| author | mo khan <mo@mokhan.ca> | 2014-05-13 22:38:27 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-05-13 22:38:27 -0600 |
| commit | dd30a7c190183165022128b86623dbfdaaefba86 (patch) | |
| tree | 7cd4415156ded443816e23ffffb802242067360d /app/controllers/profiles_controller.rb | |
| parent | 2f0c90d4e3cc45c6a4ca987cd010085722c2c070 (diff) | |
remove map.
Diffstat (limited to 'app/controllers/profiles_controller.rb')
| -rw-r--r-- | app/controllers/profiles_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 376ba28d..0c160063 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -10,10 +10,6 @@ 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 = "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 expires_in(1.hour) end |
