update 1.0.8.0
Commits for version update
This commit is contained in:
@@ -16,9 +16,9 @@ class AssetController extends BaseController
|
||||
$content = $renderer->dumpAssetsToString('js');
|
||||
|
||||
$response = new Response(
|
||||
$content, 200, array(
|
||||
$content, 200, [
|
||||
'Content-Type' => 'text/javascript',
|
||||
)
|
||||
]
|
||||
);
|
||||
|
||||
return $this->cacheResponse($response);
|
||||
@@ -36,9 +36,9 @@ class AssetController extends BaseController
|
||||
$content = $renderer->dumpAssetsToString('css');
|
||||
|
||||
$response = new Response(
|
||||
$content, 200, array(
|
||||
$content, 200, [
|
||||
'Content-Type' => 'text/css',
|
||||
)
|
||||
]
|
||||
);
|
||||
|
||||
return $this->cacheResponse($response);
|
||||
|
@@ -20,9 +20,9 @@ class OpenHandlerController extends BaseController
|
||||
$data = $openHandler->handle(null, false, false);
|
||||
|
||||
return new Response(
|
||||
$data, 200, array(
|
||||
$data, 200, [
|
||||
'Content-Type' => 'application/json'
|
||||
)
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user