routes.php 535 B

1234567891011121314
  1. <?php
  2. return [
  3. 'routes' => [
  4. ['name' => 'timeGate#singleUserTimeGate', 'url' => '/u/{userId}/timegate/{url}',
  5. 'requirements' => array('url' => '.+')],
  6. ['name' => 'timeGate#allUsersTimeGate', 'url' => '/timegate/{url}',
  7. 'requirements' => array('url' => '.+')],
  8. ['name' => 'timeMap#singleUserTimeMap', 'url' => '/u/{userId}/timemap/{url}',
  9. 'requirements' => array('url' => '.+')],
  10. ['name' => 'timeMap#allUsersTimeMap', 'url' => '/timemap/{url}',
  11. 'requirements' => array('url' => '.+')],
  12. ]
  13. ];