summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-24 23:25:43 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-24 23:25:43 -0600
commit47ea55216514f532c8e30618f621aeb93bd19eb0 (patch)
treee24901a5271f465a337623eaad456b4ae88d91dc /app
parente1a240c563b0e10e0ceae7c167fdcde752f3d865 (diff)
Mueve de directorio los serializadores
Diffstat (limited to 'app')
-rw-r--r--app/controllers/serializers/base_serializer.rb (renamed from app/serializers/base_serializer.rb)0
-rw-r--r--app/controllers/serializers/user_account_serializer.rb (renamed from app/serializers/user_account_serializer.rb)2
2 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/base_serializer.rb b/app/controllers/serializers/base_serializer.rb
index bead772..bead772 100644
--- a/app/serializers/base_serializer.rb
+++ b/app/controllers/serializers/base_serializer.rb
diff --git a/app/serializers/user_account_serializer.rb b/app/controllers/serializers/user_account_serializer.rb
index 9d233fd..09379c4 100644
--- a/app/serializers/user_account_serializer.rb
+++ b/app/controllers/serializers/user_account_serializer.rb
@@ -3,6 +3,6 @@
module Serializers
# The serializer for the user account model.
class UserAccountSerializer < BaseSerializer
- attributes :email, :first_name, :last_name
+ attributes :email, :first_name, :last_name, :role
end
end