From f0e44249b785556c46f545438ccc64592976e5e8 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 19 Sep 2025 23:37:38 -0700 Subject: [PATCH] Use full view for individual resource show endpoints --- app/controllers/api/v1/characters_controller.rb | 2 +- app/controllers/api/v1/summons_controller.rb | 2 +- app/controllers/api/v1/weapons_controller.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/api/v1/characters_controller.rb b/app/controllers/api/v1/characters_controller.rb index 94de793..e243561 100644 --- a/app/controllers/api/v1/characters_controller.rb +++ b/app/controllers/api/v1/characters_controller.rb @@ -8,7 +8,7 @@ module Api before_action :set def show - render json: CharacterBlueprint.render(@character) + render json: CharacterBlueprint.render(@character, view: :full) end private diff --git a/app/controllers/api/v1/summons_controller.rb b/app/controllers/api/v1/summons_controller.rb index 9227602..7f53e4d 100644 --- a/app/controllers/api/v1/summons_controller.rb +++ b/app/controllers/api/v1/summons_controller.rb @@ -8,7 +8,7 @@ module Api before_action :set def show - render json: SummonBlueprint.render(@summon) + render json: SummonBlueprint.render(@summon, view: :full) end private diff --git a/app/controllers/api/v1/weapons_controller.rb b/app/controllers/api/v1/weapons_controller.rb index 17d2490..53197f3 100644 --- a/app/controllers/api/v1/weapons_controller.rb +++ b/app/controllers/api/v1/weapons_controller.rb @@ -8,7 +8,7 @@ module Api before_action :set def show - render json: WeaponBlueprint.render(@weapon) + render json: WeaponBlueprint.render(@weapon, view: :full) end private