diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-21 23:29:26 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-21 23:29:26 -0700 |
| commit | d0aaa1ee5724c4981aba10efeb7e9abde27da13d (patch) | |
| tree | c4766518aabd80b87f4a69141e80f8cf368a83e2 /app/models/company.rb | |
| parent | dcb8cddfc3adeb3be6885c00933f1354d3d1e576 (diff) | |
add integration test and add township query method.
Diffstat (limited to 'app/models/company.rb')
| -rw-r--r-- | app/models/company.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/company.rb b/app/models/company.rb index 4b6e798..7691bf5 100644 --- a/app/models/company.rb +++ b/app/models/company.rb @@ -2,6 +2,6 @@ class Company < ActiveRecord::Base has_many :licenses def status(status) - status.filter(licenses) + licenses.status(status) end end |
