fixed show/hide product at menu
This commit is contained in:
@@ -7,8 +7,7 @@ class Foodcourt::FoodCourtController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def index
|
||||
@product = Product.all
|
||||
def index
|
||||
if params[:sale_id].present?
|
||||
sale =Sale.find(params[:sale_id])
|
||||
if sale
|
||||
|
||||
Reference in New Issue
Block a user