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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2df4d3

Please sign in to comment.