fixed infinit loop
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
# Ignore bundler config.
|
||||
/.bundle
|
||||
/.rspec
|
||||
.ruby-version
|
||||
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*
|
||||
|
||||
@@ -248,3 +248,6 @@ DEPENDENCIES
|
||||
turbolinks
|
||||
uglifier (>= 1.3.0)
|
||||
web-console (~> 2.0)
|
||||
|
||||
BUNDLED WITH
|
||||
1.10.2
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
module Admin
|
||||
class PagesController < Admin::ApplicationController
|
||||
class PagesController < Admin::ApplicationController
|
||||
def map
|
||||
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
module Admin
|
||||
class SupportersController < Admin::ApplicationController
|
||||
class SupportersController < Admin::ApplicationController
|
||||
def index
|
||||
@supporters = Supporter.desc(:created_at)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user