miniMVC/app/config/routes.php

20 lines
447 B
PHP
Raw Normal View History

<?php
2011-12-29 16:57:28 -05:00
/**
* File to configure routes
*
* Routes work on simple/regex matching.
*
* For a route mapping [http://example.com/]blog to the blog controller in the blog module:
* 'blog' => 'blog/blog/index'
*
* To route a special 404 page, set '404_route' to the "module/controller/method" you wish to use
*
*/
return array(
// Default Paths
2011-12-29 16:57:28 -05:00
'default_controller' => 'welcome',
'default_module' => 'welcome',
'404_route' => '',
);