Permalink
Browse files

More dumb debugging.

  • Loading branch information...
1 parent f1020c0 commit e812d83604d2846372e2c8dd08fbb58534f2aebc @damncabbage damncabbage committed May 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 hisaishi.rb
View
@@ -41,7 +41,9 @@ def csrf_token(*); end
end
post '/song/:song_id/vote' do
+ puts "before vote auth"
authenticate!
+ puts "after vote auth"
song = Song.get(params[:song_id])
song.vote(params[:vote], params[:reasons], session)

0 comments on commit e812d83

Please sign in to comment.