sms-pager/app/controllers/children_controller.rb

7 lines
155 B
Ruby
Raw Normal View History

2015-09-12 15:37:05 -05:00
class ChildrenController < ApplicationController
2015-09-18 15:50:52 -05:00
def index
@children = Child.all.order(:last_name, :first_name)
respond_with @children
end
2015-09-12 15:37:05 -05:00
end