refactor: miscellaneous staff controller refactors

This commit is contained in:
Roardom
2023-06-21 04:10:58 +00:00
parent 939b140f3f
commit 5890ebc749
10 changed files with 39 additions and 62 deletions
+1 -2
View File
@@ -32,10 +32,9 @@ class RssController extends Controller
/**
* Display a listing of the RSS resource.
*/
public function index($hash = null): \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
{
return view('Staff.rss.index', [
'hash' => $hash,
'public_rss' => Rss::where('is_private', '=', 0)->oldest('position')->get(),
]);
}