Fix error when searching for pool that doesn't exist

This commit is contained in:
Toks
2013-10-09 14:01:32 -04:00
parent 59aa45e83b
commit fed48da2df

View File

@@ -47,7 +47,7 @@ module PostSets
end
def pool
::Pool.find(::Pool.name_to_id(pool_name))
::Pool.find_by_name(pool_name)
end
def has_deleted?