Hi Guys greetings!
$route['mf'] = 'voting/mf';
/***Route Formteste Works***/
$route['formteste'] = 'formteste/index';
/***Route Voting Dashboard Works***/
$route['admin_voting'] = 'admin_voting/index';
/***Route default_controller Works***/
$route['default_controller'] = 'voting/index';
/***Route Works***/
$route['(:any)'] = 'voting/index/$1';
// $route['default_controller'] = 'welcome';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
Above are the routes.
In four cases the routes are working very normal with the name of the controller - slash - index = controller/index.
Here i need to write the controller name and the method name.
$route['mf'] = 'voting/mf'; voting = controller method = mf
In this case in special it doesn't work when i try to use voting/index. Why?
Does someone has some idea what is going on or what is missing please?
Before someone to send me to read the documentation, i've already read it, but i didn't find a clear help, that's why i'm here.
https://www.codeigniter.com/user_guide/g...ri-routing
Thank you very much in advance
$route['mf'] = 'voting/mf';
/***Route Formteste Works***/
$route['formteste'] = 'formteste/index';
/***Route Voting Dashboard Works***/
$route['admin_voting'] = 'admin_voting/index';
/***Route default_controller Works***/
$route['default_controller'] = 'voting/index';
/***Route Works***/
$route['(:any)'] = 'voting/index/$1';
// $route['default_controller'] = 'welcome';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
Above are the routes.
In four cases the routes are working very normal with the name of the controller - slash - index = controller/index.
Here i need to write the controller name and the method name.
$route['mf'] = 'voting/mf'; voting = controller method = mf
In this case in special it doesn't work when i try to use voting/index. Why?
Does someone has some idea what is going on or what is missing please?
Before someone to send me to read the documentation, i've already read it, but i didn't find a clear help, that's why i'm here.
https://www.codeigniter.com/user_guide/g...ri-routing
Thank you very much in advance