aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-03 10:09:32 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-03 10:09:36 +0200
commitce7918386a00c4a10ad8c9942c8ac28ea1fae0c2 (patch)
tree87b99f1f6ae0a834447fb1c816b4f5094a40be71 /application/front
parent0e60b7f1741c35b68a37e0705521669e1191774e (diff)
downloadShaarli-ce7918386a00c4a10ad8c9942c8ac28ea1fae0c2.tar.gz
Shaarli-ce7918386a00c4a10ad8c9942c8ac28ea1fae0c2.tar.zst
Shaarli-ce7918386a00c4a10ad8c9942c8ac28ea1fae0c2.zip
Improve backward compatibility for LegacyRouter
LegacyRouter is no longer used for routing, only in existing plugins to match the _PAGE_ parameter. So we change a few of its values there, to match the new ones defined in TemplatePage. @see discussion in shaarli/Shaarli#1537
Diffstat (limited to 'application/front')
-rw-r--r--application/front/controller/visitor/FeedController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/front/controller/visitor/FeedController.php b/application/front/controller/visitor/FeedController.php
index da2848c2..8d8b546a 100644
--- a/application/front/controller/visitor/FeedController.php
+++ b/application/front/controller/visitor/FeedController.php
@@ -46,10 +46,10 @@ class FeedController extends ShaarliVisitorController
46 46
47 $data = $this->container->feedBuilder->buildData($feedType, $request->getParams()); 47 $data = $this->container->feedBuilder->buildData($feedType, $request->getParams());
48 48
49 $this->executePageHooks('render_feed', $data, $feedType); 49 $this->executePageHooks('render_feed', $data, 'feed.' . $feedType);
50 $this->assignAllView($data); 50 $this->assignAllView($data);
51 51
52 $content = $this->render('feed.'. $feedType); 52 $content = $this->render('feed.' . $feedType);
53 53
54 $cache->cache($content); 54 $cache->cache($content);
55 55