Author: david
Date: Wed Oct 12 14:53:13 2011
New Revision: 10035
Log:
Avoid hijacking ;informationObject/index action. Cosmetic changes to route
names
Modified:
trunk/apps/qubit/config/routing.yml
Modified: trunk/apps/qubit/config/routing.yml
==============================================================================
--- trunk/apps/qubit/config/routing.yml Wed Oct 12 14:14:55 2011 (r10034)
+++ trunk/apps/qubit/config/routing.yml Wed Oct 12 14:53:13 2011 (r10035)
@@ -231,14 +231,6 @@
action: edit
informationobject_template: rad
-fileList:
- url: /:slug;fileList
- class: QubitResourceRoute
- param:
- module: informationobject
- action: fileList
- slug: { pattern: '[^;]+' }
-
# These routes used only to *generate* not *parse* URLs
actor:
url: /:slug;:actor_template
@@ -349,15 +341,22 @@
action: edit
# After *all* information object routes to avoid hijacking
-informationObject/addDigitalObject:
+informationobject/addDigitalObject:
url: /:slug;addDigitalObject
class: QubitResourceRoute
param:
module: informationobject
action: addDigitalObject
-# Ditto
-informationObject/multiFileUpload:
+informationobject/fileList:
+ url: /:slug;fileList
+ class: QubitResourceRoute
+ param:
+ module: informationobject
+ action: fileList
+ slug: { pattern: '[^;]+' }
+
+informationobject/multiFileUpload:
url: /:slug;multiFileUpload
class: QubitResourceRoute
param:
--
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.