Move "Help" back to "Logs".
This commit is contained in:
parent
1a21b32a13
commit
c5f889de4f
|
@ -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,
|
||||
],
|
||||
]
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
Loading…
Reference in New Issue