Skip to content
Snippets Groups Projects
Commit a7671f21 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'hotline_#25724_rss_broken_link' into 'stable'

Hotline #25724 rss broken link

See merge request !911
parents 332a2c9e 2b813aae
Branches
Tags
3 merge requests!915Master,!914Hotline master,!913Stable
- hotline #25724 : Corrige les liens dans les flux RSS des articles
\ No newline at end of file
......@@ -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