You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/03/13 18:28:31 UTC
[5/6] git commit: Core: Added %backend tag to 400 HAML view
Core: Added %backend tag to 400 HAML view
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/d4076e1a
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/d4076e1a
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/d4076e1a
Branch: refs/heads/master
Commit: d4076e1a548e2f9d43b039e69513cfb753adc5c8
Parents: 2ece846
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Mar 13 14:42:04 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Mar 13 18:29:14 2012 +0100
----------------------------------------------------------------------
server/views/errors/400.xml.haml | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d4076e1a/server/views/errors/400.xml.haml
----------------------------------------------------------------------
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'}" }