pool views

This commit is contained in:
albert
2011-02-25 17:41:00 -05:00
parent f48000a8b5
commit 6d0157265c
39 changed files with 1213 additions and 674 deletions

View File

@@ -1,2 +1,6 @@
module PoolsHelper
def recent_pool_list
pool_ids = session[:recent_pool_ids].to_s.split(/,/)
pool_ids.map {|x| content_tag("option", x, :value => x)}.join("\n").html_safe
end
end