Skip to content

Commit

Permalink
FIX Add slash before search action in Search form url
Browse files Browse the repository at this point in the history
  • Loading branch information
sabina-talipova committed Mar 2, 2023
1 parent d7fb9db commit eaece08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/SearchControllerExtension.php
Expand Up @@ -73,7 +73,7 @@ public function SearchForm()
);

$form = SearchForm::create($this->owner, SearchForm::class, $fields, $actions);
$form->setFormAction(Director::absoluteBaseURL().'search/SearchForm');
$form->setFormAction(Director::absoluteURL('search/SearchForm'));

return $form;
}
Expand Down

0 comments on commit eaece08

Please sign in to comment.