Read NFC
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
class Api::AuthenticateController < Api::ApiController
|
||||
skip_before_action :authenticate
|
||||
# before_action :find_shop
|
||||
|
||||
def create
|
||||
emp_id = params[:emp_id]
|
||||
@@ -67,8 +66,5 @@ class Api::AuthenticateController < Api::ApiController
|
||||
params.permit(:emp_id, :password, :session_token)
|
||||
end
|
||||
|
||||
private
|
||||
def find_shop
|
||||
@shop = Shop.find_by_shop_code(params[:shop_code])
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user