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
This commit is contained in:
parent
0e60b7f174
commit
ce7918386a
3 changed files with 7 additions and 643 deletions
application/front/controller/visitor
|
@ -46,10 +46,10 @@ class FeedController extends ShaarliVisitorController
|
|||
|
||||
$data = $this->container->feedBuilder->buildData($feedType, $request->getParams());
|
||||
|
||||
$this->executePageHooks('render_feed', $data, $feedType);
|
||||
$this->executePageHooks('render_feed', $data, 'feed.' . $feedType);
|
||||
$this->assignAllView($data);
|
||||
|
||||
$content = $this->render('feed.'. $feedType);
|
||||
$content = $this->render('feed.' . $feedType);
|
||||
|
||||
$cache->cache($content);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue