Error [ 0 ]: Call to undefined method Request::redirect()

APPPATH/classes/Controller/Index/center/Vacancies.php [ 71 ]

66         $id = (int) $this->request->param('id');
67         $vacancy = ORM::factory('vacancy', $id);
68 
69 
70         if (!$vacancy->loaded()) {
71             $this->request->redirect('admin/vacancies');
72         }
73 
74         $newDate = date("Y-M-d", strtotime($vacancy->date));
75         $date = array();
76         $date_c = explode('-', $newDate);
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Center_Vacancies->action_get()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment