diff options
-rw-r--r-- | app/controllers/widgets_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/widgets_controller.rb b/app/controllers/widgets_controller.rb index 04378a724..2c788df38 100644 --- a/app/controllers/widgets_controller.rb +++ b/app/controllers/widgets_controller.rb @@ -20,7 +20,7 @@ class WidgetsController < ApplicationController if @user @existing_track = TrackThing.find_existing(@user, @track_thing) end - unless @user or cookies[:widget_vote] + unless @user || cookies[:widget_vote] cookies.permanent[:widget_vote] = SecureRandom.hex(10) end render :action => 'show', :layout => false |