Commit b47a6b2b by Bagus Pambudi

add image rss

parent e4ab1d3f
......@@ -9,7 +9,7 @@ class RssFeedController extends Controller
$setting = webprofilesetting();
$posts = Posts::where('post_status', 't')->
orderBy('created_at', 'desc')->
limit(10)->get();
limit(1)->get();
return response()->view('rss.feed', compact('posts','setting'))->header('Content-Type', 'application/xml');
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment