Update party_blueprint.rb
This commit is contained in:
parent
af51869927
commit
979d28be75
1 changed files with 3 additions and 3 deletions
|
|
@ -37,6 +37,9 @@ module Api
|
||||||
|
|
||||||
view :full do
|
view :full do
|
||||||
include_view :preview
|
include_view :preview
|
||||||
|
include_view :summons
|
||||||
|
include_view :characters
|
||||||
|
|
||||||
fields :description, :extra
|
fields :description, :extra
|
||||||
|
|
||||||
field :job_skills do |job|
|
field :job_skills do |job|
|
||||||
|
|
@ -47,9 +50,6 @@ module Api
|
||||||
'3' => !job.skill3.nil? ? JobSkillBlueprint.render_as_hash(job.skill3) : nil
|
'3' => !job.skill3.nil? ? JobSkillBlueprint.render_as_hash(job.skill3) : nil
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
include_view :summons
|
|
||||||
include_view :characters
|
|
||||||
end
|
end
|
||||||
|
|
||||||
view :collection do
|
view :collection do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue