mirror of
https://github.com/jimeh/zynapse.git
synced 2026-02-19 07:06:39 +00:00
Initial import of old legacy Zynapse Framework,
untouched since early 2008.
This commit is contained in:
21
config/routes.php
Normal file
21
config/routes.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
|
||||
Zynapse Routes
|
||||
- configure access urls
|
||||
|
||||
*/
|
||||
|
||||
|
||||
// $router->connect('', array(':controller'=>'page'));
|
||||
$router->connect( 'page/:id([0-9]+)', array(':controller' => 'page', ':action' => 'view', 'test' => 'wiiee') );
|
||||
$router->connect( ':controller/:action/:id/:sort/:order' );
|
||||
|
||||
$router->connect( 'pages', array(':redirect_to' => '/page') );
|
||||
|
||||
|
||||
// default route
|
||||
$router->connect( ':controller/:action/:id' );
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user