mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Merge pull request #135 from mateusz/fix-head
Fix docs not coming up for HEAD requests.
This commit is contained in:
commit
9521e6ab9d
@ -177,7 +177,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