diff --git a/file_manager.routing.yml b/file_manager.routing.yml new file mode 100644 index 0000000..7feeee9 --- /dev/null +++ b/file_manager.routing.yml @@ -0,0 +1,25 @@ + +file_manager_list: + path: '/files' + defaults: + _controller: 'Drupal\file_manager\Controller\FileManagerController::content' + _title: 'File Manager' + requirements: + _permission: 'post comments' + +file_share: + path: '/share/{id}' + defaults: + _form: '\Drupal\file_manager\Form\ShareFile' + _title: 'Share' + requirements: + _permission: 'post comments' + +file_delete: + path: '/delete/{id}' + defaults: + _form: 'Drupal\file_manager\Form\DeleteFile' + _title: 'Delete File' + requirements: + _permission: 'post comments' +