pools: remove recent pools from 'add to pool' dialog.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
module PoolsHelper
|
||||
def recent_updated_pools
|
||||
pool_ids = session[:recent_pool_ids].to_s.scan(/\d+/)
|
||||
if pool_ids.any?
|
||||
Pool.where(["id IN (?)", pool_ids])
|
||||
else
|
||||
[]
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user