Set root controller namespace.
This commit is contained in:
@@ -14,7 +14,9 @@ class RouteServiceProvider extends ServiceProvider {
|
||||
*/
|
||||
public function before()
|
||||
{
|
||||
//
|
||||
URL::setRootControllerNamespace(
|
||||
trim(config('namespaces.controller'), '\\')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user