add out of stock
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Api::Restaurant::OutOfStockController < Api::ApiController
|
||||
skip_before_action :authenticate
|
||||
|
||||
def index
|
||||
date = params[:date]
|
||||
@out_of_stock = OutOfStock.where("DATE(date) = ?", date)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user