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'); }
public function notfound() { return view('larablog::themes.master', ['view' => lb_view('error.404'), 'series' => Larablog::series(), 'top' => Larablog::top()]); }