summaryrefslogtreecommitdiff
path: root/app/controllers/profiles_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r--app/controllers/profiles_controller.rb4
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