7 lines
155 B
Ruby
7 lines
155 B
Ruby
class ChildrenController < ApplicationController
|
|
def index
|
|
@children = Child.all.order(:last_name, :first_name)
|
|
respond_with @children
|
|
end
|
|
end
|