fixes #905, as well as fix for pool nav

This commit is contained in:
albert
2013-03-17 21:54:28 -04:00
parent 0c8a3f25a7
commit 68a711c63f
5 changed files with 19 additions and 14 deletions

View File

@@ -21,6 +21,10 @@ class PoolElementsController < ApplicationController
respond_with(@pool, :location => post_path(@post))
end
def all_select
@pools = Pool.active.all
end
private
def append_pool_to_session(pool)
recent_pool_ids = session[:recent_pool_ids].to_s.scan(/\d+/)