Explorar o código

修复表单跳转异常问题

jqh %!s(int64=4) %!d(string=hai) anos
pai
achega
6708359a02
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/Form.php

+ 1 - 2
src/Form.php

@@ -930,8 +930,7 @@ class Form implements Renderable
             return $redirectTo;
         }
 
-        $resourcesPath = $this->builder->isCreating() ?
-            $this->resource(0) : $this->resource(-1);
+        $resourcesPath = $this->resource(-1);
 
         if ($this->request->get('after-save') == 1) {
             // continue editing