Browse Source

Fix Component/MobileComponent.php

Mark Scherer 10 years ago
parent
commit
3ccf98a026
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/Component/MobileComponent.php

+ 1 - 1
src/Controller/Component/MobileComponent.php

@@ -167,7 +167,7 @@ class MobileComponent extends Component {
 			return;
 		}
 
-		$this->Controller->viewClass = 'Theme';
+		$this->Controller->viewBuilder()->className('Theme');
 		$this->Controller->viewBuilder()->theme('Mobile');
 	}