mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update NewsroomController
This commit is contained in:
parent
fd65d93929
commit
21a802da33
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@ class NewsroomController extends Controller
|
||||||
|
|
||||||
public function search(Request $request)
|
public function search(Request $request)
|
||||||
{
|
{
|
||||||
|
abort(404);
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'q' => 'nullable'
|
'q' => 'nullable'
|
||||||
]);
|
]);
|
||||||
|
@ -44,6 +45,7 @@ class NewsroomController extends Controller
|
||||||
|
|
||||||
public function archive(Request $request)
|
public function archive(Request $request)
|
||||||
{
|
{
|
||||||
|
abort(404);
|
||||||
return view('site.news.archive.index');
|
return view('site.news.archive.index');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue