The |page filter now supports passing an empty string to generate a link to the current page.

This commit is contained in:
Samuel Georges 2015-05-15 20:18:40 +10:00
parent e27bbbdcec
commit e675866284
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
* **Build 25x** (2015-05-xx)
- The `|page` filter now supports passing an empty string to generate a link to the current page.
* **Build 258** (2015-05-09) * **Build 258** (2015-05-09)
- The hotkey for full screen mode is now Cmd+Shift+F or Ctrl+Shift+F in Windows. - The hotkey for full screen mode is now Cmd+Shift+F or Ctrl+Shift+F in Windows.

View File

@ -1063,7 +1063,7 @@ class Controller
public function pageUrl($name, $parameters = [], $routePersistence = true) public function pageUrl($name, $parameters = [], $routePersistence = true)
{ {
if (!$name) { if (!$name) {
return null; return $this->currentPageUrl($parameters, $routePersistence);
} }
/* /*