Skip to content

Commit

Permalink
Refactoring peekaboo.rb to make it more logical and readable
Browse files Browse the repository at this point in the history
  • Loading branch information
edmore committed May 29, 2012
1 parent 766d5df commit c2df4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peekaboo.rb
Expand Up @@ -45,8 +45,8 @@
text << redis.get("question:#{question_id}:text") text << redis.get("question:#{question_id}:text")
filenames << redis.get("question:#{question_id}:filename") filenames << redis.get("question:#{question_id}:filename")
end end
files = text.zip(filenames) sounds = text.zip(filenames)
haml :start, :locals => {:files => files} haml :start, :locals => {:sounds => sounds}
end end


get "/clear" do get "/clear" do
Expand Down

0 comments on commit c2df4d3

Please sign in to comment.