send page start

This commit is contained in:
2015-09-20 22:30:44 -05:00
parent 692446b97b
commit c425f63ee9
13 changed files with 117 additions and 41 deletions

View File

@ -15,6 +15,8 @@ class Person < ActiveRecord::Base
.uniq
}
scope :pageable, -> { where('phone is not NULL').order(:first_name) }
scope :staff, -> { where(staff: true) }
scope :admins, -> { where(admin: true) }