epal.routing.yml 869 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 18 19 20 21 22 23 24
submitedapplications:
  path: '/epal/subapplic'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmittedApplication::getSubmittedApplications'
  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