incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From email4t...@gmail.com
Subject [PATCH] fix the use of camelize method so that the first character is not capped
Date Mon, 24 Oct 2011 19:10:32 GMT
From: Tong Li <litong01@us.ibm.com>

---
 server/views/cimi/cloudEntryPoint/index.xml.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/views/cimi/cloudEntryPoint/index.xml.haml b/server/views/cimi/cloudEntryPoint/index.xml.haml
index c39a34d..85cdb4a 100644
--- a/server/views/cimi/cloudEntryPoint/index.xml.haml
+++ b/server/views/cimi/cloudEntryPoint/index.xml.haml
@@ -5,5 +5,5 @@
   %description cloud entry point
   %created= Time.new.getutc.to_s
   - @collections.each do |api|
-    - res_name = api[0].to_s.camelize
+    - res_name = api[0].to_s.camelize(true)
     = "<#{res_name} href=\"#{api[1]}\"/>"
-- 
1.7.4.1


Mime
View raw message