sms-pager/config/routes.rb
2015-09-20 13:26:45 -05:00

16 lines
460 B
Ruby

Rails.application.routes.draw do
get 'parents', to: 'parents#index', as: :list_parents
get 'children', to: 'children#index', as: :list_children
get 'children/lookup', to: 'children#lookup', as: :lookup_child
get 'staff', to: 'staff#index', as: :list_staff
get 'users', to: 'users#index', as: :list_users
get 'pages', to: 'pages#index', as: :list_pages
get 'page/:id', to: 'pages#page', as: :page_person
root to: 'docs#index'
end