From b47a6b2bba8b5c276b17cabb115e4faefc359061 Mon Sep 17 00:00:00 2001
From: Bagus Pambudi <baguspambudi@unesa.ac.id>
Date: Tue, 23 Feb 2021 12:15:55 +0700
Subject: [PATCH] add image rss

---
 app/Http/Controllers/RssFeedController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/Http/Controllers/RssFeedController.php b/app/Http/Controllers/RssFeedController.php
index 937e387..ebfcb6a 100644
--- a/app/Http/Controllers/RssFeedController.php
+++ b/app/Http/Controllers/RssFeedController.php
@@ -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
--
libgit2 0.26.0