Commit 44985845 by Bagus Pambudi

add image rss

parent d45f297e
......@@ -9,7 +9,7 @@ class RssFeedController extends Controller
$setting = webprofilesetting();
$posts = Posts::where('post_status', 't')->
orderBy('post_date', 'desc')->
limit(1)->get();
limit(10)->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