Unverified Commit 27c48b8f authored by Yassine Doghri's avatar Yassine Doghri
Browse files

feat(ux): remove admin dashboard and redirect directly to podcast list

As there is currently no info on the dashboard, it is unnecessary for now
parent 2d297f45
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ class Home extends BaseController
{
    public function index()
    {
        return view('admin/dashboard');
        session()->keepFlashdata('message');
        return redirect()->route('podcast-list');
    }
}
+1 −4
Original line number Diff line number Diff line
@@ -54,10 +54,7 @@ function get_rss_feed($podcast, $serviceSlug = '')
        'lastBuildDate',
        (new Time('now'))->format(DATE_RFC1123),
    );
    $channel->addChild(
        'generator',
        'Castopod 0.0.0-development - https://castopod.org/',
    );
    $channel->addChild('generator', 'Castopod Host - https://castopod.org/');
    $channel->addChild('docs', 'https://cyber.harvard.edu/rss/rss.html');

    $channel->addChild('title', $podcast->title);
+0 −0

File mode changed from 100755 to 100644.

+0 −1
Original line number Diff line number Diff line
<?php
$navigation = [
    'dashboard' => ['icon' => 'dashboard', 'items' => ['admin']],
    'podcasts' => [
        'icon' => 'mic',
        'items' => ['podcast-list', 'podcast-create', 'podcast-import'],