Fixes issue when routing to CmsController homepage (no params)
Fixes https://github.com/rainlab/translate-plugin/issues/67 Fixes https://github.com/rainlab/translate-plugin/pull/68
This commit is contained in:
parent
12d92dd715
commit
e6e0facaa0
|
|
@ -42,7 +42,7 @@ class CmsController extends ControllerBase
|
|||
* If the parameter is omitted, the current URL used.
|
||||
* @return string Returns the processed page content.
|
||||
*/
|
||||
public function run($url = null)
|
||||
public function run($url = '/')
|
||||
{
|
||||
return App::make('Cms\Classes\Controller')->run($url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue