aboutsummaryrefslogtreecommitdiff
path: root/lib/zero
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zero')
-rw-r--r--lib/zero/controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zero/controller.rb b/lib/zero/controller.rb
index ce2122f..f77bf44 100644
--- a/lib/zero/controller.rb
+++ b/lib/zero/controller.rb
@@ -12,13 +12,13 @@ module Zero
end
# set the class to use for responses
- options :response
+ accept_options :response
# set a class to use for requests
- options :request
+ accept_options :request
# set the renderer to use in the controller
- options :renderer
+ accept_options :renderer
# the renderer which can be used to render templates
attr_reader :renderer