fixed infinit loop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user