From 115b2bcd38a3bbce0783df5259f9e11658259c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 15 May 2012 21:24:54 +0200 Subject: Room: route_p variable r->child --- lib/evendoors/room.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb index f865136..caaf565 100644 --- a/lib/evendoors/room.rb +++ b/lib/evendoors/room.rb @@ -121,8 +121,8 @@ module EvenDoors end elsif (p.room=~/^#{path}\/(.*)/)==0 room, *more = $1.split EvenDoors::PATH_SEP - if r=@spots[room] - r.route_p p + if child=@spots[room] + child.route_p p else p.error! EvenDoors::ERROR_ROUTE_DDWR end -- cgit v1.1-2-g2b99