actions implementation for spotlight

This commit is contained in:
Čarodej
2021-12-14 12:00:25 +01:00
parent 9275487cfa
commit 42487d43f1
3 changed files with 259 additions and 101 deletions

View File

@@ -93,29 +93,6 @@ class SpotlightSearchController
return [
'folders' => new FolderCollection($folders),
'files' => new FilesCollection($files),
'actions' => [
[
'title' => 'Go To Trash',
'action' => [
'type' => 'route',
'value' => 'Create User',
],
],
[
'title' => 'Create User',
'action' => [
'type' => 'route',
'value' => 'Create User',
],
],
[
'title' => 'Create Plan',
'action' => [
'type' => 'route',
'value' => 'Create User',
],
],
],
];
}
}