Beispiel #1
0
 public function sitemap()
 {
     $content = view('larablog::blog.sitemap', ['last' => Larablog::last(), 'posts' => Larablog::posts(), 'pages' => Larablog::pages(), 'tags' => Larablog::tags(), 'series' => Larablog::series()]);
     return Response::make($content, '200')->header('Content-Type', 'text/xml');
 }