Skip to content
Browse files

Debug

  • Loading branch information...
1 parent cb68882 commit adf534adebf6e55d78f5ccd1a115cb81cab666ae @shakaman committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/resa/room.rb
View
4 lib/resa/room.rb
@@ -17,8 +17,8 @@ def self.list
room_hash['_id'] = room.name
if Resa.config[:rooms].keys.include?(room.name.to_sym)
- room_hash['name'] = Resa.config[:rooms][room.name.to_sym]['name']
- room_hash['color'] = Resa.config[:rooms][room.name.to_sym]['color']
+ room_hash['name'] = Resa.config[:rooms][room.name.to_sym][:name]
+ room_hash['color'] = Resa.config[:rooms][room.name.to_sym][:color]
end
list << room_hash

0 comments on commit adf534a

Please sign in to comment.
Something went wrong with that request. Please try again.