history.routing.yml in Drupal 8
Same filename and directory in other branches
core/modules/history/history.routing.yml
File
core/modules/history/history.routing.ymlView source
- history.get_last_node_view:
- path: '/history/get_node_read_timestamps'
- defaults:
- _controller: '\Drupal\history\Controller\HistoryController::getNodeReadTimestamps'
- requirements:
- _permission: 'access content'
-
- history.read_node:
- path: '/history/{node}/read'
- defaults:
- _controller: '\Drupal\history\Controller\HistoryController::readNode'
- requirements:
- _entity_access: 'node.view'
- node: \d+