04-18-2020, 08:06 PM
Hello, where can i report errors in the documentation?
In topic Limit the Routes Made on the link:
https://codeigniter.com/user_guide/incoming/restful.html#limit-the-routes-made
I believe it should be:
I performed a test and it is not working as in the documentation, changing only the code above.
Or am I mistaken?
In topic Limit the Routes Made on the link:
https://codeigniter.com/user_guide/incoming/restful.html#limit-the-routes-made
PHP Code:
$routes->resource('photos', ['except' => 'new,edit']);
I believe it should be:
PHP Code:
$routes->resource('photos', ['except' => ['new', 'edit']]);
I performed a test and it is not working as in the documentation, changing only the code above.
Or am I mistaken?