CodeIgniter Forums
Route name - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: Route name (/showthread.php?tid=68630)



Route name - mhq - 08-07-2017

Hello,
there is a feature in Laravel which gives you the chance to name a route so you can use each route name instead of typing url. and makes opportunity to change the routes easily.(just changing url in route.php no in all the view files) so please i ask you to add this feature to make it greater than it is now.
you can check this laravel feature in this link:
here

best wishes for CI Development Team,


RE: Route name - sv3tli0 - 08-07-2017

It is good to suggest things, after you are sure that they are not already planned > implemented :
https://bcit-ci.github.io/CodeIgniter4/general/routing.html?highlight=route#using-named-routes


RE: Route name - mhq - 08-07-2017

(08-07-2017, 06:35 AM)sv3tli0 Wrote: It is good to suggest things, after you are sure that they are not already planned > implemented :
https://bcit-ci.github.io/CodeIgniter4/general/routing.html?highlight=route#using-named-routes

thanks for your answer, but i'm new to codeigniter and i'm using the latest stable version which is in codeigniter website.
in that version there is no named route and i suggest it because of that.


RE: Route name - ciadmin - 08-07-2017

@mhq if you are using a "stable" version of CI, that would be CI3. You posted your suggestion in the CI4 forum Undecided