ErrorException [ Fatal Error ]
Call to undefined method Model_New::sort_by()

APPPATH/classes/Controller/Index/News.php [ 30 ]

25         $this->template->block_center = array($content);26     }27  28     public function action_get() {29         $id = (int) $this->request->param('id');30         $news = ORM::factory('new', $id)->sort_by('id', '');31  32  33         if(!$news->loaded()){34             $this->request->redirect('admin/news');35         }36  
  1. {PHP internal call} » Kohana_Core::shutdown_handler ( )