summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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 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