pools: remove pool list dropdown from add to pool dialog.

Autocomplete works better than trying to select the pool from a gigantic
dropdown.
This commit is contained in:
evazion
2020-01-12 01:16:35 -06:00
parent bebc4694dd
commit 05da264d0d
4 changed files with 1 additions and 14 deletions

View File

@@ -19,10 +19,4 @@ class PoolElementsController < ApplicationController
@pool.remove!(@post)
respond_with(@pool, :location => post_path(@post))
end
def all_select
@pools = Pool.undeleted.order("name").select("id, name")
@pools.each # hack to force rails to eager load
@pools
end
end