wip
This commit is contained in:
@ -3,4 +3,6 @@ class ChildrenController < ApplicationController
|
||||
@children = Child.all.order(:last_name, :first_name)
|
||||
respond_with @children
|
||||
end
|
||||
|
||||
def lookup; end
|
||||
end
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user