новости в админке для логин скрина
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Services\LoginScreenNewsService;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class WowLoginNewsFeedController extends Controller
|
||||
{
|
||||
public function show(LoginScreenNewsService $news): Response
|
||||
{
|
||||
return response($news->renderFeed(), 200, [
|
||||
'Content-Type' => 'text/plain; charset=UTF-8',
|
||||
'Cache-Control' => 'no-store, no-cache, must-revalidate, max-age=0',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user