mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Remove redundant method in the RouteSP
This commit is contained in:
parent
b238b10166
commit
a9e3f4052c
1 changed files with 0 additions and 5 deletions
|
|
@ -8,11 +8,6 @@ use Illuminate\Foundation\Support\Providers\RouteServiceProvider;
|
|||
class TenantRouteServiceProvider extends RouteServiceProvider
|
||||
{
|
||||
public function map()
|
||||
{
|
||||
$this->mapTenantRoutes();
|
||||
}
|
||||
|
||||
protected function mapTenantRoutes()
|
||||
{
|
||||
if (! in_array(request()->getHost(), $this->app['config']['tenancy.exempt_domains'] ?? [])) {
|
||||
Route::middleware(['web', 'tenancy'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue