diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-03 21:25:38 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-03 21:25:38 -0600 |
commit | 33230f933454e64436dddb906d53512f97a60ce1 (patch) | |
tree | a1537b02ecba32d0ce40c8e451ea870439e9520c /app/controllers/api/user_accounts_controller.rb | |
parent | 898d91cca5721db785e991e0eab9f05010925b1a (diff) |
Arregla algunos métodos de controladores
Diffstat (limited to 'app/controllers/api/user_accounts_controller.rb')
-rw-r--r-- | app/controllers/api/user_accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/user_accounts_controller.rb b/app/controllers/api/user_accounts_controller.rb index ca5d93b..85323df 100644 --- a/app/controllers/api/user_accounts_controller.rb +++ b/app/controllers/api/user_accounts_controller.rb @@ -6,7 +6,7 @@ module Api skip_before_action :validate_jwt, only: [:create] def show - render json: serialized_user_account.serializable_hash + render json: Serializers::UserAccountSerializer.new(current_user_account).serializable_hash end def create |