It makes more sense to pre-fetch all job skills and filter on the client, so we're consolidating into a JobSkillsController
10 lines
167 B
Ruby
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
|