Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user