1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:44:04 +00:00

Intelligent asset()

This commit is contained in:
Samuel Štancl 2019-09-21 16:43:03 +02:00
parent 6134c8113b
commit a34bcfbe3e
4 changed files with 17 additions and 4 deletions

View file

@ -46,6 +46,9 @@ class TenancyServiceProvider extends ServiceProvider
return $this;
});
$this->app['url']->macro('getForcedRoot', function () {
return $this->forcedRoot;
});
}
/**