Author: sevein
Date: Fri Oct 7 16:48:20 2011
New Revision: 9978
Log:
Set friendly routes for external uses
Modified:
trunk/apps/qubit/config/routing.yml
Modified: trunk/apps/qubit/config/routing.yml
==============================================================================
--- trunk/apps/qubit/config/routing.yml Fri Oct 7 16:11:51 2011 (r9977)
+++ trunk/apps/qubit/config/routing.yml Fri Oct 7 16:48:20 2011 (r9978)
@@ -9,6 +9,18 @@
action: index
slug: home
+sword/action/slug:
+ url: /sword/:action/:slug
+ class: QubitResourceRoute
+ param:
+ module: qtSwordPlugin
+ slug: { pattern: '[^;]+' }
+
+sword:
+ url: /sword/:action
+ param:
+ module: qtSwordPlugin
+
slug:
url: /:slug
class: QubitResourceRoute
--
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.com/group/qubit-commits?hl=en.