hensei-api/app/views/api/v1/job_skills/base.json.rabl
Justin Edmund 353db31ef7 Move to JobSkillsController
It makes more sense to pre-fetch all job skills and filter on the client, so we're consolidating into a JobSkillsController
2022-11-27 19:27:45 -08:00

10 lines
167 B
Ruby

object :job_skill
attributes :id, :job, :slug, :color, :main, :base, :sub, :emp, :order
node :name do |w|
{
:en => w.name_en,
:ja => w.name_jp
}
end