deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 6/6] Core: Added %backend tag to 400 HAML view
Date Tue, 13 Mar 2012 13:42:46 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/views/errors/400.xml.haml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/server/views/errors/400.xml.haml b/server/views/errors/400.xml.haml
index 4f2723f..dd512a2 100644
--- a/server/views/errors/400.xml.haml
+++ b/server/views/errors/400.xml.haml
@@ -1,4 +1,3 @@
 %error{:url => "#{request.env['REQUEST_URI']}", :status => "#{response.status}"}
-  %parameter #{@error.name}
   %message< #{cdata @error.message}
-
+  %backend{ :driver => driver_symbol, :provider => "#{Thread::current[:provider] ||
ENV['API_PROVIDER'] || 'default'}" }
-- 
1.7.9.1


Mime
View raw message