Revert "Use inflector rule to acronym Api to API"

This reverts commit 06f5eb10d4.
This commit is contained in:
Maciej Szlosarczyk 2018-07-24 12:53:51 +03:00
parent 90b2455032
commit aac76b333c
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
25 changed files with 43 additions and 44 deletions

View file

@ -95,6 +95,6 @@ class Registrant::SessionsController < Devise::SessionsController
def find_user_by_idc(idc)
return User.new unless idc
APIUser.find_by(identity_code: idc) || User.new
ApiUser.find_by(identity_code: idc) || User.new
end
end