Commit 9ab7e52ad62fc51ce73e3e9fc287333ea199a209
1 parent
9cad138c
Exists in
master
and in
1 other branch
log time as well
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/prompts_controller.rb
@@ -48,7 +48,7 @@ class PromptsController < InheritedResources::Base | @@ -48,7 +48,7 @@ class PromptsController < InheritedResources::Base | ||
48 | def vote_direction(direction) | 48 | def vote_direction(direction) |
49 | authenticate | 49 | authenticate |
50 | 50 | ||
51 | - logger.info "#{current_user.inspect} is voting #{direction}." | 51 | + logger.info "#{current_user.inspect} is voting #{direction} at #{Time.now}." |
52 | @question = Question.find(params[:question_id]) | 52 | @question = Question.find(params[:question_id]) |
53 | @prompt = @question.prompts.find(params[:id]) | 53 | @prompt = @question.prompts.find(params[:id]) |
54 | case direction | 54 | case direction |