diff --git a/app/Config/Routing.php b/app/Config/Routing.php index 8d3c773157cf..c0234da8df91 100644 --- a/app/Config/Routing.php +++ b/app/Config/Routing.php @@ -63,13 +63,12 @@ class Routing extends BaseRouting /** * Sets the class/method that should be called if routing doesn't - * find a match. It can be either a closure or the controller/method - * name exactly like a route is defined: Users::index + * find a match. It can be the controller/method name like: Users::index * * This setting is passed to the Router class and handled there. * * If you want to use a closure, you will have to set it in the - * class constructor or the routes file by calling: + * routes file by calling: * * $routes->set404Override(function() { * // Do something here diff --git a/system/Config/Routing.php b/system/Config/Routing.php index e6d25138f8f0..5f5d9db620a4 100644 --- a/system/Config/Routing.php +++ b/system/Config/Routing.php @@ -61,13 +61,12 @@ class Routing extends BaseConfig /** * Sets the class/method that should be called if routing doesn't - * find a match. It can be either a closure or the controller/method - * name exactly like a route is defined: Users::index + * find a match. It can be the controller/method name like: Users::index * * This setting is passed to the Router class and handled there. * * If you want to use a closure, you will have to set it in the - * class constructor or the routes file by calling: + * routes file by calling: * * $routes->set404Override(function() { * // Do something here