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