Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt

This commit is contained in:
Nweni
2019-12-03 17:50:53 +06:30
13 changed files with 215 additions and 736 deletions

View File

@@ -67,8 +67,8 @@ class Api::AuthenticateController < Api::ApiController
params.permit(:emp_id, :password, :session_token)
end
private
def find_shop
private
def find_shop
@shop = Shop.find_by_shop_code(params[:shop_code])
end
end