From 59cc585271a5f253b15617d97e26a29403a929dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 5 Dec 2013 15:13:32 +0100 Subject: [add] add RSS feed for archive --- inc/poche/Poche.class.php | 2 +- themes/default/config.twig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index ac66dfc9..a8a54ff0 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -858,7 +858,7 @@ class Poche public function generateFeeds($token, $user_id, $type = 'home') { - $allowed_types = array('home', 'fav'); + $allowed_types = array('home', 'fav', 'archive'); $config = $this->store->getConfigUser($user_id); if (!in_array($type, $allowed_types) || diff --git a/themes/default/config.twig b/themes/default/config.twig index 7cf3fe9c..1d7fb562 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig @@ -36,6 +36,7 @@ {% endif %} -- cgit v1.2.3