refactor(modules): extract castopod parts into a modules/ folder for a scalable HMVC structure

- create Admin, Analytics, Auth, Fediverse and Install modules in the root modules/ folder
- rename
ActivityPub to Fediverse
This commit is contained in:
Yassine Doghri 2021-08-23 11:05:16 +00:00
commit 5083cd2fda
268 changed files with 4221 additions and 2186 deletions

View file

@ -0,0 +1,22 @@
<?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');
}
}