Fix translatable URL caching

The same fix as https://github.com/rainlab/pages-plugin/pull/244 but for CMS pages.
This commit is contained in:
Anže Časar 2017-03-28 17:52:42 +02:00 committed by GitHub
parent d1c9b1a6f1
commit e0ce714285
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class Router
*/
protected function getCacheKey($keyName)
{
return md5($this->theme->getPath()).$keyName;
return md5($this->theme->getPath()).$keyName.Lang::getLocale();
}
/**