ActionController::ActionControllerError in WelcomeController#comparison_shopping_referral

Cannot redirect to nil!
Extracted source (around line #116):
114
115
116
117
118
119
              
GoogleAnalyticsApi.new.event('tracked-referrals', "#{@product.product_type} - #{@product.name} - #{@product.location.name}")
# LessonMailer.notify_comparison_shopping_referral(@product,@current_user,@unique_id).deliver!
redirect_to @product.url
end
def homewood_pass_referral

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"136"}

Response

Headers:

None