From 9cea623595a7347289186dda4273ee65dffea8cb Mon Sep 17 00:00:00 2001 From: Gibheer Date: Thu, 29 Nov 2012 22:22:21 +0100 Subject: don't overwrite the request --- lib/zero/controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/zero/controller.rb b/lib/zero/controller.rb index 8469a09..cd9dbeb 100644 --- a/lib/zero/controller.rb +++ b/lib/zero/controller.rb @@ -7,7 +7,7 @@ module Zero class Controller # initialize a new instance of the controller and call response on it def self.call(env) - new(Zero::Request.new(env)).response + new(Zero::Request.create(env)).response end # set the renderer to use in the controller -- cgit v1.2.3-70-g09d2