Skip to content
Snippets Groups Projects
Commit 1e297f02 authored by efalcy's avatar efalcy
Browse files

hotline #25724: forward viewselection on Rss link

parent 1cf0fc8c
Branches
Tags
4 merge requests!915Master,!914Hotline master,!913Stable,!911Hotline #25724 rss broken link
......@@ -200,13 +200,19 @@ class CmsController extends Zend_Controller_Action {
}
/**
/**
* @see ZendAfi_View_Helper_Accueil_MenuVertical
*/
public function viewsummaryAction() {
$this->_viewArticlesByPreferences($this->_getAllParams());
}
/*
* prevent rss broken links, tix #25724
*/
public function viewselectionAction() {
$this->_forward('articleviewselection');
}
/**
* @see ZendAfi_View_Helper_Accueil_News
......
......@@ -1333,6 +1333,7 @@ class CmsControllerViewSummaryTest extends CmsControllerListTestCase {
class CmsControllerArticleViewSelectionTest extends CmsControllerListTestCase {
protected function _dispatchHook() {
$this->dispatch('/cms/articleviewselection');
......@@ -1359,6 +1360,14 @@ class CmsControllerArticleViewSelectionTest extends CmsControllerListTestCase {
class CmsControllerArticleViewSelectionRssBrokenLinkForwardTest extends CmsControllerArticleViewSelectionTest {
// forward to prevent broken link on rss, tix #25724
protected function _dispatchHook() {
$this->dispatch('/cms/viewselection');
}
}
class CmsControllerArticleViewSelectionFromHorizontalMenuBoxTest extends AbstractControllerTestCase {
public function setUp() {
......
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