Author: Jonathan.Wage
Date: 2010-01-12 23:09:51 +0100 (Tue, 12 Jan 2010)
New Revision: 26550
Modified:
plugins/sfSympalPlugin/trunk/TODO
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/sfSympalContentActionLoader.class.php
Log:
[1.4][sfSympalPlugin][1.0] Adding redirected to content loading for routes that
match but give 404
Modified: plugins/sfSympalPlugin/trunk/TODO
===================================================================
--- plugins/sfSympalPlugin/trunk/TODO 2010-01-12 21:58:55 UTC (rev 26549)
+++ plugins/sfSympalPlugin/trunk/TODO 2010-01-12 22:09:51 UTC (rev 26550)
@@ -21,7 +21,6 @@
### New Documentation Chapters
-* Customizing the Sympal Admin
* Themes
* Content Templates
* Redirects
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/sfSympalContentActionLoader.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/sfSympalContentActionLoader.class.php
2010-01-12 21:58:55 UTC (rev 26549)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/sfSympalContentActionLoader.class.php
2010-01-12 22:09:51 UTC (rev 26550)
@@ -185,6 +185,9 @@
$this->_actions->forward('sympal_default', 'new_site');
}
+ $redirecter = new sfSympalRedirecter($this->_actions);
+ $redirecter->redirect();
+
$this->_actions->forward404();
}
}
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.