浏览代码

Update PostFormTrait.php

Visman 4 年之前
父节点
当前提交
4fe6c50549
共有 1 个文件被更改,包括 2 次插入8 次删除
  1. 2 8
      app/Models/Pages/PostFormTrait.php

+ 2 - 8
app/Models/Pages/PostFormTrait.php

@@ -25,15 +25,9 @@ trait PostFormTrait
 
 
         $autofocus = $quickReply ? null : true;
         $autofocus = $quickReply ? null : true;
         $form = [
         $form = [
-            'action' => $this->c->Router->link(
-                $marker,
-                $args
-            ),
+            'action' => $this->c->Router->link($marker, $args),
             'hidden' => [
             'hidden' => [
-                'token' => $this->c->Csrf->create(
-                    $marker,
-                    $args
-                ),
+                'token' => $this->c->Csrf->create($marker, $args),
             ],
             ],
             'sets'   => [],
             'sets'   => [],
             'btns'   => [
             'btns'   => [