You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2012/03/13 14:42:46 UTC
[PATCH core 6/6] Core: Added %backend tag to 400 HAML view
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@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