mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Fix docs not coming up for HEAD requests.
This commit is contained in:
parent
f61751b19e
commit
e90ee42f05
@ -171,7 +171,7 @@ class DocumentationViewer extends Controller implements PermissionProvider
|
||||
public function handleAction($request, $action)
|
||||
{
|
||||
// if we submitted a form, let that pass
|
||||
if (!$request->isGET()) {
|
||||
if (!$request->isGET() && !$request->isHEAD()) {
|
||||
return parent::handleAction($request, $action);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user