routes.ini 1.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
[routes]
; Site principal
GET|POST @home:/=Campaign->show
GET @what:/what=Campaign->what
GET @who:/who=Campaign->who
GET @why:/why=Campaign->why
GET @faq:/faq=Campaign->faq
GET @merci:/merci=Campaign->merci
GET @material:/material=Campaign->material
POST @donate:/donate=Campaign->donate

; Page de retour de la banque
POST @cb:/cb=Bank->cb

; Pages d'administration personnelle
GET|POST @perso:/perso=Perso->show
POST|GET @login:/login=Perso->login
GET|POST @logout:/perso/logout=Perso->logout
GET|POST @cancel:/cancel/@id=Perso->cancel
POST @infos:/infos=Perso->infos
POST @add_contrepartie:/add/contrepartie=Perso->add_contrepartie
POST @adresses:/perso/adresses=Perso->adresses
GET @recu:/receipt/@id=Perso->receipt

; Cron jobs
GET /cron/@action=Cron->@action
GET /cron/piplome/@id=Cron->piplome

; Pages d'administration
GET|POST @admin:/admin=Admin->show
GET @add_support:/admin/support/add=Admin->support
GET @edit_support:/admin/support/edit/@id=Admin->support
POST @modify_support:/admin/support/edit=Admin->support

GET|POST @admin_accounts:/admin/accounts=Admin->accounts

GET|POST @counterparts:/admin/counterparts=Admin->counterparts
POST @export:/counterparts/admin/export=Admin->counterparts
GET|POST @edit_counterpart:/admin/counterparts/edit/@id=Admin->counterpart

GET|POST @cbs:/admin/cbs=Admin->cbs
POST @export_cbs:/admin/cbs/export=Admin->cbs

GET|POST @users:/admin/users=Admin->users
POST @add_user:/admin/users/add=Admin->user
GET @user_info:/admin/users/@id=Admin->user
POST @modify_user:/admin/users/@id=Admin->user

POST @adresse:/admin/adresses=Admin->adresse

GET @counterparts_dashboard:/admin/counterparts_dashboard=Admin->counterparts_dashboard

GET|POST @banque:/admin/banque=Admin->banque

GET @stats:/admin/stats=Admin->stats