summaryrefslogtreecommitdiffstats
path: root/core/Controller/CssController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/CssController.php')
-rw-r--r--core/Controller/CssController.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Controller/CssController.php b/core/Controller/CssController.php
index 45a188adba6..31ec801d21c 100644
--- a/core/Controller/CssController.php
+++ b/core/Controller/CssController.php
@@ -54,7 +54,7 @@ class CssController extends Controller {
}
/**
- * @NoAdminRequired
+ * @PublicPage
* @NoCSRFRequired
*
* @param string $fileName css filename with extension
@@ -76,8 +76,7 @@ class CssController extends Controller {
$response->addHeader('Expires', $expires->format(\DateTime::RFC2822));
$response->addHeader('Pragma', 'cache');
return $response;
- } else {
- return new NotFoundResponse();
}
+ return new NotFoundResponse();
}
}