myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3053] branches/versions/config/routes.rb: fixed


From: noreply
Subject: [myexperiment-hackers] [3053] branches/versions/config/routes.rb: fixed versioned file routes ( was "blobs")
Date: Sat, 28 Jul 2012 22:28:58 +0000 (UTC)

Revision
3053
Author
dgc
Date
2012-07-28 22:28:58 +0000 (Sat, 28 Jul 2012)

Log Message

fixed versioned file routes (was "blobs")

Modified Paths

Diff

Modified: branches/versions/config/routes.rb (3052 => 3053)


--- branches/versions/config/routes.rb	2012-07-28 22:23:59 UTC (rev 3052)
+++ branches/versions/config/routes.rb	2012-07-28 22:28:58 UTC (rev 3053)
@@ -133,8 +133,8 @@
   map.formatted_workflow_version '/workflows/:id/versions/:version.:format', :conditions => { :method => :get }, :controller => 'workflows', :action ="" 'show'
 
   # blob redirect for linked data model
-  map.blob_version           '/blobs/:id/versions/:version',         :conditions => { :method => :get }, :controller => 'blobs', :action ="" 'show'
-  map.formatted_blob_version '/blobs/:id/versions/:version.:format', :conditions => { :method => :get }, :controller => 'blobs', :action ="" 'show'
+  map.blob_version           '/files/:id/versions/:version',         :conditions => { :method => :get }, :controller => 'blobs', :action ="" 'show'
+  map.formatted_blob_version '/files/:id/versions/:version.:format', :conditions => { :method => :get }, :controller => 'blobs', :action ="" 'show'
 
   # versioned preview images
   ['workflow'].each do |x|

reply via email to

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