/** * List all cultures or based on category if specified */ public function get_index() { $cultures = Culture::get(); return json_encode($cultures); }