Blog and Pages are now database driven, woo!
This commit is contained in:
parent
34fe54c20c
commit
1f1cf3b71b
20 changed files with 137 additions and 24 deletions
|
@ -30,9 +30,9 @@ $routes->setAutoRoute(true);
|
|||
|
||||
// We get a performance increase by specifying the default
|
||||
// route since we don't have to scan directories.
|
||||
$routes->get('(:any)', 'Pages::view/$1');
|
||||
$routes->get('blog', 'Blog::index');
|
||||
$routes->get('blog/(:segment)', 'Blog::view/$1');
|
||||
$routes->get('(:any)', 'Pages::view/$1');
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------
|
||||
|
|
Reference in a new issue