You are here

history.routing.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/history/history.routing.yml
core/modules/history/history.routing.yml

File

core/modules/history/history.routing.yml
View source
  1. history.get_last_node_view:
  2. path: '/history/get_node_read_timestamps'
  3. defaults:
  4. _controller: '\Drupal\history\Controller\HistoryController::getNodeReadTimestamps'
  5. requirements:
  6. _permission: 'access content'
  7. history.read_node:
  8. path: '/history/{node}/read'
  9. defaults:
  10. _controller: '\Drupal\history\Controller\HistoryController::readNode'
  11. requirements:
  12. _entity_access: 'node.view'
  13. node: \d+