Kohana 3. Environment test page

139 views Asked by At

I get environment test page going to any url.

I have this in bootstrap file

Route::set('default', '(<controller>(/<action>(/<id>)))')
->defaults(array(
    'controller' => 'welcome',
    'action'     => 'index',
));

And i have this in my controller

public function action_index()
{
    $view = View::factory('test');
    $this->response->body($view);
}

So i have test.php file in my views directory. But anyways i get environment test page. What i'm doing wrong?

0

There are 0 answers