Explorar o código

Merge pull request #714 from shacky/2.0

fix 404 on delete from "record detail view"
Jiang Qinghua %!s(int64=4) %!d(string=hai) anos
pai
achega
b86b53af04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Form.php

+ 1 - 1
src/Form.php

@@ -571,7 +571,7 @@ class Form implements Renderable
                 ->alert()
                 ->status($status)
                 ->message($message)
-                ->refreshIf($status)
+                ->redirectIf($status, $this->resource(-1))
         );
     }