order pool select

This commit is contained in:
albert
2013-03-18 04:31:15 -04:00
parent 97a3db2c80
commit a48ea51f55

View File

@@ -22,7 +22,7 @@ class PoolElementsController < ApplicationController
end
def all_select
@pools = Pool.active.all
@pools = Pool.active.order("name").select("id, name").all
end
private