You are here

farm_client.routing.yml in farmOS 2.x

modules/core/client/farm_client.routing.yml

File

modules/core/client/farm_client.routing.yml
View source
  1. farm_client.client_module_js:
  2. path: 'farm/client/js/{client_module}/index.js'
  3. defaults:
  4. _controller: '\Drupal\farm_client\Controller\ClientModuleController::index'
  5. requirements:
  6. # This endpoint is public.
  7. _access: 'TRUE'
  8. methods: [GET]
  9. options:
  10. parameters:
  11. client_module:
  12. type: entity:client_module