diff --git a/application/classes/controller/home.php b/application/classes/controller/home.php index 04bf4ba..12b0ea7 100644 --- a/application/classes/controller/home.php +++ b/application/classes/controller/home.php @@ -2,15 +2,13 @@ class Controller_Home extends Controller_ApplicationBlog { - public function action_index(){ - - $hello = 'hello xomano!!!'; + public function action_index(){ - $content = View::factory('site/home/index') - ->bind('hello', $hello); + $content = View::factory('site/home/page'); $this->template->content = $content; } -} // End Welcome +} + diff --git a/application/classes/controller/postagens.php b/application/classes/controller/postagens.php new file mode 100644 index 0000000..377e791 --- /dev/null +++ b/application/classes/controller/postagens.php @@ -0,0 +1,13 @@ +template->content = $content; + } + +} diff --git a/application/classes/controller/sobre.php b/application/classes/controller/sobre.php new file mode 100644 index 0000000..45d5898 --- /dev/null +++ b/application/classes/controller/sobre.php @@ -0,0 +1,14 @@ +template->content = $content; + } + +} + diff --git a/application/views/layouts/template_blog.php b/application/views/layouts/template_blog.php index 502961a..d4fb376 100644 --- a/application/views/layouts/template_blog.php +++ b/application/views/layouts/template_blog.php @@ -16,13 +16,6 @@ - -