Consistency updates for use of viewpath()
This commit is contained in:
@@ -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),
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user