Refactor user to admin and api user

This commit is contained in:
Martin Lensment 2015-02-13 16:17:06 +02:00
parent f3215680d5
commit 037cb57e00
34 changed files with 551 additions and 551 deletions

View file

@ -30,7 +30,7 @@ module Versions
if creator_str =~ /^\d-api-/
ApiUser.find(creator_str)
else
User.find(creator_str)
AdminUser.find(creator_str)
end
end
@ -40,7 +40,7 @@ module Versions
if updator_str =~ /^\d-api-/
ApiUser.find(updator_str)
else
User.find(updator_str)
AdminUser.find(updator_str)
end
end