deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r1063025 - /incubator/deltacloud/trunk/server/views/api/show.html.haml
Date Mon, 24 Jan 2011 22:20:57 GMT
Author: lutter
Date: Mon Jan 24 22:20:57 2011
New Revision: 1063025

URL: http://svn.apache.org/viewvc?rev=1063025&view=rev
Log:
* views/api/show.html.haml: only show collections supported by the driver

Modified:
    incubator/deltacloud/trunk/server/views/api/show.html.haml

Modified: incubator/deltacloud/trunk/server/views/api/show.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/api/show.html.haml?rev=1063025&r1=1063024&r2=1063025&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/api/show.html.haml (original)
+++ incubator/deltacloud/trunk/server/views/api/show.html.haml Mon Jan 24 22:20:57 2011
@@ -2,7 +2,7 @@
   Deltacloud API #{settings.version}
 
 %ul
-  - collections.keys.sort_by { |k| k.to_s }.each do |key|
+  - driver.supported_collections.sort_by { |k| k.to_s }.each do |key|
     %li
       = link_to key.to_s.gsub('_', ' ').titlecase, url_for("/api/#{key}")
       %dl



Mime
View raw message