summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/space.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-09 13:36:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-09 13:36:08 +0200
commit865a67bf6b4313bda71f7689acc1ccae088c7c77 (patch)
tree8e672cde3d1271eef159f83c6c23741d780e9ab5 /lib/evendoors/space.rb
parent0b120c62d266cc776b183119ab9a5dc602eabc51 (diff)
downloadedoors-ruby-865a67bf6b4313bda71f7689acc1ccae088c7c77.zip
edoors-ruby-865a67bf6b4313bda71f7689acc1ccae088c7c77.tar.gz
debug -> debug_routing + debug_errors
Diffstat (limited to 'lib/evendoors/space.rb')
-rw-r--r--lib/evendoors/space.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/evendoors/space.rb b/lib/evendoors/space.rb
index 22b9910..da13065 100644
--- a/lib/evendoors/space.rb
+++ b/lib/evendoors/space.rb
@@ -8,7 +8,8 @@ module EvenDoors
#
def initialize n, args={}
super n, nil
- EvenDoors::Twirl.debug = args[:debug] || false
+ EvenDoors::Twirl.debug_errors = args[:debug_errors] || false
+ EvenDoors::Twirl.debug_routing = args[:debug_routing] || false
end
#
def twirl!