bee.routing.yml 521 Bytes
Newer Older
nicola85's avatar
nicola85 committed
1 2 3 4
bee.node.availability:
  path: '/node/{node}/availability'
  defaults:
    _controller: '\Drupal\bee\Controller\BeeController::availability'
5
    _title_callback: '\Drupal\bee\Controller\BeeController::availabilityTitle'
nicola85's avatar
nicola85 committed
6 7
  requirements:
    _bee_availability_access: 'node'
nicola85's avatar
nicola85 committed
8 9 10 11 12 13 14 15 16 17

bee.node.add_reservation:
  path: '/node/{node}/add-reservation'
  defaults:
    _form: '\Drupal\bee\Form\AddReservationForm'
  options:
    parameters:
      node:
        type: entity:node
  requirements:
18
    _bee_add_reservation_access: 'node'