URI Routing Help - 23.07.19 |
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 |
Messages In This Thread |
URI Routing Help - 23.07.19 - by Porto - 07-23-2019, 12:47 AM
RE: URI Routing Help - 23.07.19 - by Digital_Wolf - 07-23-2019, 03:03 AM
RE: URI Routing Help - 23.07.19 - by Porto - 07-23-2019, 05:44 AM
RE: URI Routing Help - 23.07.19 - by Digital_Wolf - 07-23-2019, 09:04 AM
RE: URI Routing Help - 23.07.19 - Done! - by Porto - 07-24-2019, 03:31 AM
RE: URI Routing Help - 23.07.19 - by Wouter60 - 07-23-2019, 06:16 AM
RE: URI Routing Help - 23.07.19 - by InsiteFX - 07-23-2019, 03:00 PM
|