This commit is contained in:
2015-09-20 13:26:45 -05:00
parent f8c03d6f5c
commit 692446b97b
25 changed files with 283 additions and 13 deletions

View File

@ -3,4 +3,6 @@ class ChildrenController < ApplicationController
@children = Child.all.order(:last_name, :first_name)
respond_with @children
end
def lookup; end
end

View File

@ -1,10 +1,9 @@
class DocsController < ApplicationController
def index
doc = {
@doc = {
name: "sms-pager-api",
documentation: "https://bitbucket.org/markamoser/sms-pager-api"
}.to_json
render json: doc
}
respond_with @doc
end
end

View File

@ -1,2 +1,11 @@
class PagesController < ApplicationController
def index
@pages = Page.last_ten
respond_with @pages
end
def page; end
def send_page
end
end