don't display personal data on map

This commit is contained in:
2016-04-04 23:42:48 +02:00
parent 0dc791ebe2
commit feb9944506
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ class PagesController < ApplicationController
end
def map
@supporters = Supporter.all.select(&:coordinates)
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
end
end