Permalink
Browse files

Fix to push through the correct variable

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

0 comments on commit b2d12d4

Please sign in to comment.