fixed infinit loop

This commit is contained in:
2016-04-21 17:23:50 +02:00
parent 4a46b14c29
commit e134326b9c
4 changed files with 10 additions and 10 deletions
+3 -5
View File
@@ -1,7 +1,5 @@
module Admin
class PagesController < Admin::ApplicationController
def map
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
end
class PagesController < Admin::ApplicationController
def map
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
end
end
@@ -1,7 +1,5 @@
module Admin
class SupportersController < Admin::ApplicationController
def index
@supporters = Supporter.desc(:created_at)
end
class SupportersController < Admin::ApplicationController
def index
@supporters = Supporter.desc(:created_at)
end
end