myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2411] trunk/config/routes.rb: workflow version r


From: noreply
Subject: [myexperiment-hackers] [2411] trunk/config/routes.rb: workflow version redirect for linked data
Date: Mon, 24 May 2010 08:40:59 -0400 (EDT)

Revision
2411
Author
dgc
Date
2010-05-24 08:40:58 -0400 (Mon, 24 May 2010)

Log Message

workflow version redirect for linked data

Modified Paths

Diff

Modified: trunk/config/routes.rb (2410 => 2411)


--- trunk/config/routes.rb	2010-05-19 10:51:58 UTC (rev 2410)
+++ trunk/config/routes.rb	2010-05-24 12:40:58 UTC (rev 2411)
@@ -86,6 +86,10 @@
     workflow.resources :reviews
   end
 
+  # workflow redirect for linked data model
+  map.connect '/workflows/:id/versions/:version',         :controller => 'workflows', :action ="" 'show'
+  map.connect '/workflows/:id/versions/:version.:format', :controller => 'workflows', :action ="" 'show'
+
   # curation
   ['workflows', 'files', 'packs'].each do |contributable_type|
     map.curation "#{contributable_type}/:contributable_id/curation",

reply via email to

[Prev in Thread] Current Thread [Next in Thread]