materio expo use now cookie instead of session

This commit is contained in:
2021-09-09 16:14:11 +02:00
parent 2ffda1e0b2
commit 277f3cb445
3 changed files with 33 additions and 18 deletions

View File

@@ -1,14 +1,18 @@
materio_expo.qr_controller_getfile:
path: '/materio_expo/qr/file/{ref}'
defaults:
_controller: '\Drupal\materio_expo\Controller\QRController::getfile'
# _title: 'Get File'
requirements:
_permission: 'access content'
materio_expo.get_email:
path: '/materio_expo/qr/form/{ref}'
defaults:
_form: '\Drupal\materio_expo\Form\GetEmail'
# _title: ''
requirements:
_access: 'TRUE'
materio_expo.qr_controller_setcookie:
path: '/materio_expo/qr/cookie/{ref}'
defaults:
_controller: '\Drupal\materio_expo\Controller\QRController::setcookie'
requirements:
_permission: 'access content'
materio_expo.qr_controller_getfile:
path: '/materio_expo/qr/file/{ref}'
defaults:
_controller: '\Drupal\materio_expo\Controller\QRController::getfile'
requirements:
_permission: 'access content'