aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/widgets_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/widgets_controller.rb')
-rw-r--r--app/controllers/widgets_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/widgets_controller.rb b/app/controllers/widgets_controller.rb
index 56b80d337..d1953de10 100644
--- a/app/controllers/widgets_controller.rb
+++ b/app/controllers/widgets_controller.rb
@@ -28,7 +28,9 @@ class WidgetsController < ApplicationController
# Track interest in a request from a non-logged in user
def update
if not @user and cookies[:widget_vote]
- wv = @info_request.widget_votes.where(:cookie => cookies[:widget_vote]).first_or_create
+ @info_request.widget_votes.
+ where(:cookie => cookies[:widget_vote]).
+ first_or_create
end
track_thing = TrackThing.create_track_for_request(@info_request)