Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Refactoring peekaboo.rb to make it more logical and readable

  • Loading branch information...
commit c2df4d3a6175042f7854fabd00cbf08d455298e3 1 parent 766d5df
Edmore Moyo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 peekaboo.rb
4 peekaboo.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.