fix conflict in crawler

parent 02ef8dfd
Pipeline #910 canceled with stages
in 0 seconds
......@@ -27,6 +27,7 @@ class JobsController < ApplicationController
end
def show
@job = Job.find(params[:id])
redirect_to jobs_path unless @job
end
......
......@@ -58,7 +58,7 @@ class CSVImporter
description: description_job,
level: level,
salary: salary,
company_id: company_id)
company_id: company.id)
job = Job.find_or_create_by!(title: title_job,
description: description_job,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment