Browse Source

adding no cache to the search route

2.x
Paul Pound 1 year ago
parent
commit
f01db8fe1e
  1. 2
      roblib_search.routing.yml

2
roblib_search.routing.yml

@ -12,5 +12,7 @@ roblib_search.landing_page:
_controller: '\Drupal\roblib_search\Controller\RoblibSearchController::searchResults' _controller: '\Drupal\roblib_search\Controller\RoblibSearchController::searchResults'
_title: 'Roblib Search Landing Page' _title: 'Roblib Search Landing Page'
query: '[a-zA-Z\s]+' query: '[a-zA-Z\s]+'
options:
no_cache: 'TRUE'
requirements: requirements:
_permission: 'access content' _permission: 'access content'
Loading…
Cancel
Save