forked from stratoserp/stratoserp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stratoserp.routing.yml
49 lines (43 loc) · 1.15 KB
/
stratoserp.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
stratoserp.home:
path: '/'
options:
no_cache: TRUE
requirements:
_permission: 'access all businesses'
stratoserp.search_form:
path: '/se'
defaults:
_form: '\Drupal\stratoserp\Form\SearchForm'
_title_callback: '\Drupal\stratoserp\Form\SearchForm::getPageTitle'
_title: 'Search'
options:
no_cache: TRUE
requirements:
_permission: 'access all businesses'
stratoserp.search:
path: '/se/core-search'
defaults:
_controller: '\Drupal\stratoserp\Controller\AutocompleteController::handleAutocomplete'
_format: json
options:
no_cache: TRUE
requirements:
_permission: 'access all businesses'
stratoserp.admin_config_stratoserp:
path: '/se/config/stratoserp'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'StratosERP'
options:
no_cache: TRUE
requirements:
_permission: 'access administration pages'
stratoserp.403:
path: '/403'
defaults:
_controller: '\Drupal\stratoserp\Controller\AccessDeniedController::provideAccessDeniedPage'
_title: 'Login required'
options:
no_cache: TRUE
requirements:
_access: 'TRUE'