Browse Source

Update Url.md

Mark Sch 5 years ago
parent
commit
ddc4ffff8c
1 changed files with 1 additions and 1 deletions
  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`.