mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Write test for specifying headers in TenantAssetController, fix error introduced in previous commit
This commit is contained in:
parent
a39da042af
commit
cc2d555e3e
2 changed files with 27 additions and 2 deletions
|
|
@ -16,7 +16,6 @@ class TenantAssetController implements HasMiddleware // todo@docs this was renam
|
|||
{
|
||||
/**
|
||||
* Used for adding custom headers to the response.
|
||||
* todo@tests add a test for this
|
||||
*
|
||||
* @var (Closure(Request): array)|null
|
||||
*/
|
||||
|
|
@ -33,7 +32,7 @@ class TenantAssetController implements HasMiddleware // todo@docs this was renam
|
|||
{
|
||||
return [
|
||||
new Middleware(array_merge(
|
||||
tenancy()->defaultMiddleware(),
|
||||
[tenancy()->defaultMiddleware()],
|
||||
static::$middleware,
|
||||
)),
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue