From 3374a9d16523ed9119eb42cb2c85761641df0e31 Mon Sep 17 00:00:00 2001 From: svenkatesh-nyros Date: Sat, 6 Aug 2016 09:53:39 +0530 Subject: [PATCH] Create file_manager.routing.yml --- file_manager.routing.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 file_manager.routing.yml 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' +