Author: jablko
Date: 2008-12-12 12:50:23 -0800 (Fri, 12 Dec 2008)
New Revision: 1677
Modified:
trunk/qubit/plugins/sfInstallPlugin/lib/sfInstall.class.php
Log:
Move sfInstallPlugin/help route after default_index route to avoid matching
parameters array('module' => 'sfInstallPlugin'). Fixes issue #545
Modified: trunk/qubit/plugins/sfInstallPlugin/lib/sfInstall.class.php
===================================================================
--- trunk/qubit/plugins/sfInstallPlugin/lib/sfInstall.class.php 2008-12-12
20:06:31 UTC (rev 1676)
+++ trunk/qubit/plugins/sfInstallPlugin/lib/sfInstall.class.php 2008-12-12
20:50:23 UTC (rev 1677)
@@ -21,7 +21,7 @@
public static function routingLoadConfiguration(sfEvent $event)
{
$routing = $event->getSubject();
- $routing->prependRoute('sfInstallPlugin/help', new
sfRoute('http://qubit-toolkit.org/wiki/index.php?title=Installer_Warnings',
array('module' => 'sfInstallPlugin', 'action' => 'help')));
+ $routing->insertRouteBefore('default', 'sfInstallPlugin/help', new
sfRoute('http://qubit-toolkit.org/wiki/index.php?title=Installer_Warnings',
array('module' => 'sfInstallPlugin', 'action' => 'help')));
}
// Returns an array of missing dependencies
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---