Use full view for individual resource show endpoints
This commit is contained in:
parent
7a1e2fc8f9
commit
f0e44249b7
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue