Skip to content
Snippets Groups Projects
Forked from Ad Aures / Castopod
713 commits behind the upstream repository.
HomeController.php 454 B
<?php

declare(strict_types=1);

/**
 * @copyright  2020 Podlibre
 * @license    https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
 * @link       https://castopod.org/
 */

namespace Modules\Admin\Controllers;

use CodeIgniter\HTTP\RedirectResponse;

class HomeController extends BaseController
{
    public function index(): RedirectResponse
    {
        session()->keepFlashdata('message');
        return redirect()->route('podcast-list');
    }
}