castopod/app/Controllers/UnknownUserAgents.php
Yassine Doghri da0f047281 feat(cache): add podcast and episode pages to cache + clear them after insert or update
- throw not found page error if no podcast in podcast controller
- delete unnecessary unknownuseragents view
2020-10-15 14:40:58 +00:00

13 lines
307 B
PHP

<?php namespace App\Controllers;
use CodeIgniter\Controller;
class UnknownUserAgents extends Controller
{
public function index($last_known_id = 0)
{
$model = new \App\Models\UnknownUserAgentsModel();
return $this->response->setJSON($model->getUserAgents($last_known_id));
}
}