d_p_subscribe_file.downloadfile.checkLink:
  path: '/downloadfile/{paragraph_id}/{link_hash}'
  defaults:
    _controller: '\Drupal\d_p_subscribe_file\Controller\DownloadFile::checkLink'
    _title: 'Download'
  requirements:
    _permission: 'access content'
  link_hash: '^[a-zA-Z0-9_]+'
  paragraph_id: '^[0-9]+'
  cache: FALSE

d_p_subscribe_file.downloadfile.getFile:
  path: '/getfile/{file_hash}'
  defaults:
    _controller: '\Drupal\d_p_subscribe_file\Controller\DownloadFile::getFile'
    _title: 'Download'
  requirements:
    _permission: 'access content'
  file_hash: '^[a-zA-Z0-9_]+'
  cache: FALSE
