NoMethodError in Shop#index

Showing /home/trackreports/public_html/shopmefast/app/views/shop/index.html.erb where line #98 raised:

undefined method `each' for nil:NilClass
Extracted source (around line #98):
96
97
98
99
100
101
              
<div class="row">
<% @products.each do|product|%>
<div class="col-xl-3 col-md-4 col-6 col-grid-box">
<div class="product-box">
<div class="product-imgbox">

Rails.root: /home/trackreports/public_html/shopmefast

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"category_id"=>"13"}

Response

Headers:

None