Commit b97b4d994534fe3a6ad5b58cda62fa8eef6a1b2e
1 parent
0aa75809
Exists in
master
and in
1 other branch
adding api level voting to clickstream
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
app/controllers/prompts_controller.rb
... | ... | @@ -49,8 +49,6 @@ class PromptsController < InheritedResources::Base |
49 | 49 | authenticate |
50 | 50 | |
51 | 51 | logger.info "#{current_user.inspect} is voting #{direction} at #{Time.now}." |
52 | - p = params[:click].except(:sid).merge(:visitor_id => current_user.visitors.find_or_create_by_identifier(params[:click][:sid]).id) | |
53 | - | |
54 | 52 | @question = Question.find(params[:question_id]) |
55 | 53 | @prompt = @question.prompts.find(params[:id]) |
56 | 54 | ... | ... |