It makes more sense to pre-fetch all job skills and filter on the client, so we're consolidating into a JobSkillsController
6 lines
138 B
Ruby
6 lines
138 B
Ruby
class Api::V1::JobsController < Api::V1::ApiController
|
|
def all
|
|
@jobs = Job.all()
|
|
render :all, status: :ok
|
|
end
|
|
end
|