Browse Source

adding no cache to the search route

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

6
roblib_search.routing.yml

@ -5,12 +5,14 @@ roblib_search.settings:
_title: 'Roblib Search Settings Form'
requirements:
_permission: 'administer site configuration'
roblib_search.landing_page:
path: '/roblib_search/{query}'
defaults:
_controller: '\Drupal\roblib_search\Controller\RoblibSearchController::searchResults'
_title: 'Roblib Search Landing Page'
query: '[a-zA-Z\s]+'
options:
no_cache: 'TRUE'
requirements:
_permission: 'access content'
_permission: 'access content'

Loading…
Cancel
Save