Mailinglist Archive: obs-commits (345 mails)

< Previous Next >
[obs-commits] [PATCH] Don't break HTML by including XML.
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

< Previous Next >
This Thread
  • No further messages