Permalink
Browse files

Refactoring peekaboo.rb to make it more logical and readable

  • Loading branch information...
1 parent 766d5df commit c2df4d3a6175042f7854fabd00cbf08d455298e3 @edmore committed May 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 peekaboo.rb
View
4 peekaboo.rb
@@ -45,8 +45,8 @@
text << redis.get("question:#{question_id}:text")
filenames << redis.get("question:#{question_id}:filename")
end
- files = text.zip(filenames)
- haml :start, :locals => {:files => files}
+ sounds = text.zip(filenames)
+ haml :start, :locals => {:sounds => sounds}
end
get "/clear" do

0 comments on commit c2df4d3

Please sign in to comment.