mostly filebased Content Presentation System

12 lines
412B

  1. [routes]
  2. GET / = Controller\Page->home
  3. GET /home = Controller\Page->home
  4. GET /login = Controller\User->login
  5. GET /register = Controller\User->register
  6. GET @page: /@page = Controller\Page->index
  7. GET /@level1/@level2 = Controller\Page->secondLevel
  8. GET /@level1/@level2/@level3 = Controller\Page->thirdLevel
  9. GET /@level1/@level2/@level3/@level4 = Controller\Page->fourthLevel
  10. POST /email = Controller\Email->send