Skip to content

Commit

Permalink
add property to route service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 10, 2020
1 parent 94e7945 commit 9cbc381
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ class RouteServiceProvider extends ServiceProvider
*/
public const HOME = '/home';

/**
* If specified, this namespace is automatically applied to your controller routes.
*
* In addition, it is set as the URL generator's root namespace.
*
* @var string
*/
protected $namespace = null;

/**
* Define your route model bindings, pattern filters, etc.
*
Expand Down

0 comments on commit 9cbc381

Please sign in to comment.