Mailinglist Archive: obs-commits (345 mails)
| < Previous | Next > |
[obs-commits] [PATCH] Don't break HTML by including XML.
- From: OBS build-service <opensuse-buildservice@xxxxxxxxxxxx>
- Date: Mon, 7 Nov 2011 15:20:26 +0100
- Message-id: <1320675626-6915-1-git-send-email-opensuse-buildservice@opensuse.org>
From: Cornelius Schumacher <schumacher@xxxxxxx>
---
src/api/app/controllers/application.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/api/app/controllers/application.rb
b/src/api/app/controllers/application.rb
index a054af2..1130af4 100644
--- a/src/api/app/controllers/application.rb
+++ b/src/api/app/controllers/application.rb
@@ -134,7 +134,7 @@ class ApplicationController < ActionController::Base
@exception = opt[:exception ]
end
- render :template => 'error', :status => @errorcode
+ render :template => 'error', :status => @errorcode, :layout => false
end
def render_ok
--
1.7.7
--
To unsubscribe, e-mail: obs-commits+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: obs-commits+owner@xxxxxxxxxxxx
---
src/api/app/controllers/application.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/api/app/controllers/application.rb
b/src/api/app/controllers/application.rb
index a054af2..1130af4 100644
--- a/src/api/app/controllers/application.rb
+++ b/src/api/app/controllers/application.rb
@@ -134,7 +134,7 @@ class ApplicationController < ActionController::Base
@exception = opt[:exception ]
end
- render :template => 'error', :status => @errorcode
+ render :template => 'error', :status => @errorcode, :layout => false
end
def render_ok
--
1.7.7
--
To unsubscribe, e-mail: obs-commits+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: obs-commits+owner@xxxxxxxxxxxx
| < Previous | Next > |