epal.routing.yml 5.45 KB
Newer Older
1 2 3 4 5 6 7 8 9
epal.user.send_verification_code:
  path: '/epal/user/sendvercode'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::sendVerificationCode'
  requirements:
    _user_is_logged_in: 'TRUE'
epal.user.verify_verification_code:
10
  path: '/epal/user/verifyvercode'
11 12 13 14 15 16
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::verifyVerificationCode'
  requirements:
    _user_is_logged_in: 'TRUE'
17 18 19 20 21 22 23 24
epal.user.save_profile:
  path: '/epal/user/save'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::saveUserProfile'
  requirements:
    _user_is_logged_in: 'TRUE'
25
epal.user.get_data:
26
  path: '/epal/userdata'
27 28
  options:
    _auth: [ 'basic_auth' ]
29
  defaults:
30
    _controller: '\Drupal\epal\Controller\CurrentUser::getEpalUserData'
31 32
  requirements:
    _user_is_logged_in: 'TRUE'
33
epal.current_user:
Open Source Developer's avatar
Open Source Developer committed
34
  path: '/epal/curuser'
35
  options:
Open Source Developer's avatar
Open Source Developer committed
36
    _auth: [ 'basic_auth' ]
Open Source Developer's avatar
Open Source Developer committed
37
  defaults:
38
    _controller: '\Drupal\epal\Controller\CurrentUser::getLoginInfo'
Open Source Developer's avatar
Open Source Developer committed
39
  requirements:
Open Source Developer's avatar
Open Source Developer committed
40
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
41
submitedapplications:
Open Source Developer's avatar
tranfer  
Open Source Developer committed
42
  path: '/epal/subapplic'
Open Source Developer's avatar
trans  
Open Source Developer committed
43 44 45
  options:
    _auth: [ 'basic_auth' ]
  defaults:
Open Source Developer's avatar
Open Source Developer committed
46
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getSubmittedApplications'
Open Source Developer's avatar
trans  
Open Source Developer committed
47 48
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
studentapplication:
  path: '/epal/student/{studentId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getStudentApplications'
  requirements:
    _user_is_logged_in: 'TRUE'
epalchosen:
  path: '/epal/epalchosen/{studentId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\SubmitedApplications::getEpalChosen'
  requirements:
    _user_is_logged_in: 'TRUE'
65 66
epal.application_submit:
  path: '/epal/appsubmit'
67
  options:
68 69 70 71 72
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ApplicationSubmit::appSubmit'
  requirements:
    _user_is_logged_in: 'TRUE'
73 74 75 76 77 78 79 80
epal.demo_data:
  path: '/epal/demodata'
  defaults:
    _controller: '\Drupal\epal\Controller\CreateDemoData::createData'
  requirements:
      _access: 'TRUE'
epal.allocation:
  path: '/epal/distribution'
81 82
  options:
      _auth: [ 'basic_auth' ]
83 84 85
  defaults:
    _controller: '\Drupal\epal\Controller\Distribution::createDistribution'
  requirements:
86
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
transf  
Open Source Developer committed
87 88 89 90 91 92 93 94
sectorperschool:
  path: '/epal/sectorperSchool/{epalId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSectorsPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
95 96 97 98 99 100 101 102
specialityperschool:
  path: '/epal/specialityperSchool/{epalId}/{sectorId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSpecialPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
103 104 105 106 107 108 109
confirmstudents:
  path: '/epal/confirmstudent'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::ConfirmStudents'
  requirements:
110
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
111
studentperschool:
Open Source Developer's avatar
paging  
Open Source Developer committed
112
  path: '/epal/studentperSchool/{epalId}/{selectId}/{classId}/{limitdown}/{limitup}'
Open Source Developer's avatar
trans  
Open Source Developer committed
113 114 115 116 117 118
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getStudentPerSchool'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
Open Source Developer committed
119 120 121 122 123 124 125
savecapacity:
  path: '/epal/savecapacity/{taxi}/{tomeas}/{specialit}/{schoolid}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::SaveCapacity'
  requirements:
126 127 128 129 130 131 132 133 134
    _user_is_logged_in: 'TRUE'
epal.ministry.log_in_go:
  path: '/ministry/login'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinistryLogin::loginGo'
  requirements:
      _user_is_logged_in: 'TRUE'
135 136 137 138 139 140 141 142 143 144 145 146 147
epal.ministry.log_out_go:
  path: '/ministry/logout'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\MinistryLogin::logoutGo'
  requirements:
      _user_is_logged_in: 'TRUE'
epal.ministry.general_report:
  path: '/ministry/general-report'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
148 149 150
    _controller: '\Drupal\epal\Controller\ReportsCreator::makegGeneralReport'
  requirements:
      _user_is_logged_in: 'TRUE'
151
epal.ministry.report-completeness:
152 153 154 155 156
  path: '/ministry/report-completeness'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportCompleteness'
157 158
  requirements:
      _user_is_logged_in: 'TRUE'
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
epal.ministry.report-all-stat:
  path: '/ministry/report-all-stat'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ReportsCreator::makeReportAllStat'
  requirements:
      _user_is_logged_in: 'TRUE'
epal.ministry.massive_mail:
  path: '/ministry/send-massive-mail'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\InformUnlocatedStudents::sendMailToStudents'
  requirements:
      _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
175 176 177 178 179 180 181 182
regionview:
  path: '/epal/ScoolperPerf/{perfectureId}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getSchoolsPerPerfetcure'
  requirements:
    _user_is_logged_in: 'TRUE'
Open Source Developer's avatar
trans  
Open Source Developer committed
183 184 185 186 187 188 189
coursesperschools:
  path: '/epal/CoursesperSch/{schoolid}'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\DirectorView::getCoursesPerSchool'
  requirements:
190
    _user_is_logged_in: 'TRUE'