Set root controller namespace.

This commit is contained in:
Taylor Otwell
2014-08-29 04:18:29 +02:00
parent 2f998b2095
commit a7f3512743

View File

@@ -14,7 +14,9 @@ class RouteServiceProvider extends ServiceProvider {
*/
public function before()
{
//
URL::setRootControllerNamespace(
trim(config('namespaces.controller'), '\\')
);
}
/**