summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-11-26 21:28:48 +0100
committerGibheer <gibheer@gmail.com>2012-11-26 21:28:48 +0100
commit06e0dc22e126b30e1a02b53b7f8228274ac5e407 (patch)
treee8abfbc806445a83abbc3b23a48e6bf8411764fa
parentfe7a6221201ffeb7a8028a785d86f60c063fc2f9 (diff)
transform the response to an array
-rw-r--r--lib/zero/controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zero/controller.rb b/lib/zero/controller.rb
index 2b4f148..6d7f8e5 100644
--- a/lib/zero/controller.rb
+++ b/lib/zero/controller.rb
@@ -25,7 +25,7 @@ module Zero
def response
process if respond_to?(:process)
render
- @response
+ @response.to_a
end
end
end