Updates from lnApp
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
*/
|
||||
class Controller_Welcome extends Controller_TemplateDefault {
|
||||
public function action_index() {
|
||||
$block = new block;
|
||||
$block->add(array(
|
||||
Block::add(array(
|
||||
'title'=>'Welcome to lnApp (public)!',
|
||||
'subtitle'=>'Using lnApp',
|
||||
'body'=>'Sample lnApp application',
|
||||
@@ -33,7 +32,7 @@ class Controller_Welcome extends Controller_TemplateDefault {
|
||||
));
|
||||
}
|
||||
|
||||
$this->template->content = $block;
|
||||
$this->template->content = Block::factory();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user