From 480d284b280624242804b3c5c4bbc22d8eed646e Mon Sep 17 00:00:00 2001 From: timmatheson Date: Wed, 27 May 2009 02:34:07 -0700 Subject: [PATCH] Adding action view to the rack app --- lib/unfuddle_notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unfuddle_notifier.rb b/lib/unfuddle_notifier.rb index e444f8c..05b496c 100644 --- a/lib/unfuddle_notifier.rb +++ b/lib/unfuddle_notifier.rb @@ -7,6 +7,6 @@ def initialize(app) def call(env) status, headers, response = @app.call(env) - [status, headers, ActionView::Template.new("panel", "views") + response.body] + [status, headers, ActionView::Template.new("panel", "views").render + response.body] end end \ No newline at end of file