@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function getCanonical() |
| 23 | 23 | { |
| 24 | 24 | $params = neon()->controller->actionParams; |
| 25 | - $params[0] = neon()->controller->getRoute(); |
|
| 25 | + $params[0] = neon()->controller->getRoute(); |
|
| 26 | 26 | $urlManager = neon()->getUrlManager(); |
| 27 | 27 | $url = $urlManager->createUrl($params); |
| 28 | 28 | if (strpos($url, '://') === false) { |
@@ -923,7 +923,4 @@ |
||
| 923 | 923 | if (!empty($params['assign'])) { |
| 924 | 924 | $smarty->assign($params['assign'], $output); |
| 925 | 925 | } else { |
| 926 | - return $output; |
|
| 927 | - } |
|
| 928 | - } |
|
| 929 | -} |
|
| 926 | + return $output |
|
| 930 | 927 | \ No newline at end of file |