File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,13 +63,12 @@ class Routing extends BaseRouting
6363
6464 /**
6565 * Sets the class/method that should be called if routing doesn't
66- * find a match. It can be either a closure or the controller/method
67- * name exactly like a route is defined: Users::index
66+ * find a match. It can be the controller/method name like: Users::index
6867 *
6968 * This setting is passed to the Router class and handled there.
7069 *
7170 * If you want to use a closure, you will have to set it in the
72- * class constructor or the routes file by calling:
71+ * routes file by calling:
7372 *
7473 * $routes->set404Override(function() {
7574 * // Do something here
Original file line number Diff line number Diff line change @@ -61,13 +61,12 @@ class Routing extends BaseConfig
6161
6262 /**
6363 * Sets the class/method that should be called if routing doesn't
64- * find a match. It can be either a closure or the controller/method
65- * name exactly like a route is defined: Users::index
64+ * find a match. It can be the controller/method name like: Users::index
6665 *
6766 * This setting is passed to the Router class and handled there.
6867 *
6968 * If you want to use a closure, you will have to set it in the
70- * class constructor or the routes file by calling:
69+ * routes file by calling:
7170 *
7271 * $routes->set404Override(function() {
7372 * // Do something here
You can’t perform that action at this time.
0 commit comments