I’m try do that:
class ProjectsController extends BaseController {
public $restful = true;
public function get_admin_index()
{
echo 'get admin index'; exit;
}
But doesn’t work.
If I try put this Controller in app/controller/admin/ folder, and change the method to only get_index, doesn’t work too.
All methods in L4 are camel case so get_index() would be getIndex(). With that said I believe you will want to look at this Resourceful controllers.