Move "Help" back to "Logs".

This commit is contained in:
Buster "Silver Eagle" Neece 2022-07-02 17:08:43 -05:00
parent 1a21b32a13
commit c5f889de4f
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
3 changed files with 7 additions and 7 deletions

View File

@ -264,10 +264,10 @@ return function (App\Event\BuildStationMenu $e) {
],
],
'help' => [
'label' => __('Help'),
'icon' => 'support',
'url' => (string)$router->fromHere('stations:help'),
'logs' => [
'label' => __('Logs'),
'icon' => 'web_stories',
'url' => (string)$router->fromHere('stations:logs'),
'permission' => StationPermissions::Logs,
],
]

View File

@ -48,8 +48,8 @@ return static function (RouteCollectorProxy $app) {
->setName('stations:stereo_tool_config')
->add(new Middleware\Permissions(StationPermissions::Broadcasting, true));
$group->get('/help', Controller\Stations\HelpAction::class)
->setName('stations:help')
$group->get('/logs', Controller\Stations\LogsAction::class)
->setName('stations:logs')
->add(new Middleware\Permissions(StationPermissions::Logs, true));
$group->get('/playlists', Controller\Stations\PlaylistsAction::class)

View File

@ -8,7 +8,7 @@ use App\Http\Response;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
final class HelpAction
final class LogsAction
{
public function __invoke(
ServerRequest $request,