In my CodeIgniter installation, my routes file is currently:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
//routes
$route['about'] = 'page/view/about';
$route['(:any)'] = 'page/view/$1';
$route['default_controller'] = "page/view";
My question is - do I need to make a new $route
call each time I have a new page, or is there a way to do it automatically? My page
controller will be for my static pages...home, about, contact, faq, etc.
Do I need to specify each static page?
This might also stem to when I get to the registration part of the code. How will I automatically give a user their own route?
Thanks