resq/config/routes/geofence.yaml

35 lines
862 B
YAML

#geofence
geofence_list:
path: /geofence
controller: App\Controller\GeofenceController::index
geofence_rows:
path: /geofence/rows
controller: App\Controller\GeofenceController::rows
methods: [POST]
geofence_create:
path: /geofence/create
controller: App\Controller\GeofenceController::addForm
methods: [GET]
geofence_create_submit:
path: /geofence/create
controller: App\Controller\GeofenceController::addSubmit
methods: [POST]
geofence_update:
path: /geofence/{id}
controller: App\Controller\GeofenceController::updateForm
methods: [GET]
geofence_update_submit:
path: /geofence/{id}
controller: App\Controller\GeofenceController::updateSubmit
methods: [POST]
geofence_delete:
path: /geofence/{id}
controller: App\Controller\GeofenceController::destroy
methods: [DELETE]