mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-14 10:08:49 +01:00
Updating Dependencies, SiteMap, & Robots.txt
This commit is contained in:
1 parent
f7b38d50e3
commit
cc1609f2e9
6 files changed
+5594
-3893
No files matched your search
@@ -16,9 +16,10 @@ class SitemapController extends Controller
|
||||
}
|
||||
|
||||
public function videos() {
|
||||
$videos = Video::all();
|
||||
$video = Video::orderBy('updated_at', 'desc')->first();
|
||||
|
||||
return response()->view('sitemap.videos', [
|
||||
'videos' => $videos
|
||||
'video' => $video
|
||||
])->header('Content-Type', 'text/xml');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user