Daven- / kidsathope

0 stars 0 forks source link

DO_NOT_DELETE: Route Map #8

Open johnazre opened 7 years ago

johnazre commented 7 years ago

These are general routes and necessities. We will update the specifics as we need them.

/ => if not logged in, redirect to /login /th => GET/UPDATE/DELETE students from their school /students => GET/UPDATE aces, GET staff, POST (for new) people /admin => file upload logic / CRUD for everything /superintendent => GET magic mathy stuff.

johnazre commented 7 years ago

/th => Controller: THController:

method: index, 
required variables: 
    - allStudents: All students from that school
    - aces: Students that they added previously

method: addStudents (POST),
goal: add students to the aces list of that teacher