浏览代码

Update Url.md

Mark Sch 5 年之前
父节点
当前提交
ddc4ffff8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/Url/Url.md

+ 1 - 1
docs/Url/Url.md

@@ -7,7 +7,7 @@ If you need to merge in defaults to your URLs, you can get the information from
 
 ```php
 // From inside a plugin controller action
-$$this->redirect(['controller' => 'Main', 'action' => 'index'] + $this->Url->defaults());
+$this->redirect(['controller' => 'Main', 'action' => 'index'] + $this->Url->defaults());
 ```
 It will basically add in `'prefix' => false, 'plugin' => false`.