public function get_projectbyid($id) { $projects = Model_Projects::find($id); $this->response($projects); }
'projects/(:any)' => 'projects/projectbyid/$1',
public function get_projectbyid() { $projects = Model_Projects::find(Input::get('id')); $this->response($projects); }
It looks like you're new here. If you want to get involved, click one of these buttons!