@@ -403,7 +403,7 @@ class Builder
public function action($action = null)
{
if ($action !== null) {
- $this->action = $action;
+ $this->action = admin_url($action);
return;
}
@@ -186,7 +186,7 @@ class Form implements Renderable
return $this->getHtmlAttribute('action');
- return $this->setHtmlAttribute('action', $action);
+ return $this->setHtmlAttribute('action', admin_url($action));
/**