aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-11-29 22:22:21 +0100
committerGibheer <gibheer@gmail.com>2012-11-29 22:22:50 +0100
commit9cea623595a7347289186dda4273ee65dffea8cb (patch)
treeb198b80e152a11fa19967217dc1d682696d3489d /lib
parent74bbc7f186edb9fc01e2792946c4f773568defe2 (diff)
don't overwrite the request
Diffstat (limited to 'lib')
-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 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