epal.routing.yml 965 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'
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' ]
13
  defaults:
14
    _controller: '\Drupal\epal\Controller\CurrentUser::getLoginInfo'
15
  requirements:
Open Source Developer's avatar
Open Source Developer committed
16
    _user_is_logged_in: 'TRUE'
17 18
epal.application_submit:
  path: '/epal/appsubmit'
19
  options:
20 21 22 23 24
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ApplicationSubmit::appSubmit'
  requirements:
    _user_is_logged_in: 'TRUE'
25 26 27 28 29 30 31 32 33 34 35 36
epal.demo_data:
  path: '/epal/demodata'
  defaults:
    _controller: '\Drupal\epal\Controller\CreateDemoData::createData'
  requirements:
      _access: 'TRUE'
epal.allocation:
  path: '/epal/distribution'
  defaults:
    _controller: '\Drupal\epal\Controller\Distribution::createDistribution'
  requirements:
      _access: 'TRUE'