diff options
author | Gibheer <gibheer@gmail.com> | 2012-10-05 08:05:32 +0200 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2012-10-05 08:05:32 +0200 |
commit | 30399df1c73410bf26dcdee1fccae95311c2f4ff (patch) | |
tree | 1ad2f06ac17fc3f2fef64fe4cb9a46a908d62a4e /lib | |
parent | bbbc743a9369c56f9628f992be7eb7f05e811549 (diff) |
fixed small error
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zero/controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zero/controller.rb b/lib/zero/controller.rb index 4264de1..3769f69 100644 --- a/lib/zero/controller.rb +++ b/lib/zero/controller.rb @@ -6,7 +6,7 @@ module Zero # rack compatible controllers. It catches #call and creates a new instance # with the environment and calls #render on it. class Controller - def self << call(env) + def self.call(env) new(Request.new(env)).render end end |