浏览代码

Update Page\Redirect

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

+ 1 - 4
app/Models/Pages/Redirect.php

@@ -28,10 +28,7 @@ class Redirect extends Page
      */
     public function page(string $marker, array $args = []): Page
     {
-        $this->link = $this->c->Router->link(
-            $marker,
-            $args
-        );
+        $this->link = $this->c->Router->link($marker, $args);
 
         return $this;
     }