epal.routing.yml 882 Bytes
Newer Older
1 2
user_data:
  path: '/epal/userdata'
3 4
  options:
    _auth: [ 'basic_auth' ]
5
  defaults:
6
    _controller: '\Drupal\epal\Controller\CurrentUser::getEpalUserData'
7 8
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
9
current_user:
Open Source Developer's avatar
Open Source Developer committed
10
  path: '/epal/curuser'
11
  options:
Open Source Developer's avatar
Open Source Developer committed
12
    _auth: [ 'basic_auth' ]
Open Source Developer's avatar
Open Source Developer committed
13
  defaults:
14
    _controller: '\Drupal\epal\Controller\CurrentUser::getLoginInfo'
Open Source Developer's avatar
Open Source Developer committed
15
  requirements:
Open Source Developer's avatar
Open Source Developer committed
16
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
17
submitedapplications:
Open Source Developer's avatar
Open Source Developer committed
18
  path: '/epal/subapplic/{$studentid}'
Open Source Developer's avatar
trans  
Open Source Developer committed
19 20 21
  options:
    _auth: [ 'basic_auth' ]
  defaults:
Open Source Developer's avatar
Open Source Developer committed
22
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getSubmittedApplications'
Open Source Developer's avatar
trans  
Open Source Developer committed
23 24
  requirements:
    _user_is_logged_in: 'TRUE'
25 26
epal.application_submit:
  path: '/epal/appsubmit'
27
  options:
28 29 30 31 32
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ApplicationSubmit::appSubmit'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
33