Welcome Guest, Not a member yet? Register   Sign In
Bug in routes with path in controller
#2

You can use only

$routes->add('journals', 'App\Blogs'); if dashboard is files and it have controller you must use \ .Its run default index function.
$routes->add('blog/joe', 'Blogs::users'); if dashboard is controller you must use scope + function

you can see https://codeigniter4.github.io/userguide...uting.html
Sercan YANBULOGLU
SEO links REDACTED, per forum policy
Reply


Messages In This Thread
Bug in routes with path in controller - by acy29 - 11-22-2019, 05:44 AM
RE: Bug in routes with path in controller - by ProfessionalCoder - 11-25-2019, 12:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB