Consistency updates for use of viewpath()

This commit is contained in:
Deon George
2011-12-21 12:39:21 +11:00
parent a40ce27a16
commit a893527d77
42 changed files with 125 additions and 125 deletions

View File

@@ -25,7 +25,7 @@ class Controller_StaticPage extends Controller_TemplateDefault {
Block::add(array(
'title'=>$sp->staticpage_translate->find()->title,
'body'=>View::factory('staticpage/view')
'body'=>View::factory($this->viewpath())
->set('record',$sp),
));
}