This commit is contained in:
2015-09-12 15:37:05 -05:00
commit cb7e47a466
77 changed files with 1374 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
end

View File

@ -0,0 +1,2 @@
class ChildrenController < ApplicationController
end

View File

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

View File

@ -0,0 +1,2 @@
class PagesController < ApplicationController
end

View File

@ -0,0 +1,6 @@
class ParentsController < ApplicationController
def index
@parents = Person.just_parents
respond_with @parents
end
end

View File

@ -0,0 +1,2 @@
class StaffController < ApplicationController
end

View File

@ -0,0 +1,2 @@
class UsersController < ApplicationController
end