Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Huỳnh Thiên Phước
venjob
Commits
566e2225
Commit
566e2225
authored
Aug 14, 2020
by
Huỳnh Thiên Phước
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conflict in crawler
parent
02ef8dfd
Pipeline
#910
canceled with stages
in 0 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
app/controllers/jobs_controller.rb
+1
-0
lib/src/csv_importer.rb
+1
-1
No files found.
app/controllers/jobs_controller.rb
View file @
566e2225
...
@@ -27,6 +27,7 @@ class JobsController < ApplicationController
...
@@ -27,6 +27,7 @@ class JobsController < ApplicationController
end
end
def
show
def
show
@job
=
Job
.
find
(
params
[
:id
])
redirect_to
jobs_path
unless
@job
redirect_to
jobs_path
unless
@job
end
end
...
...
lib/src/csv_importer.rb
View file @
566e2225
...
@@ -58,7 +58,7 @@ class CSVImporter
...
@@ -58,7 +58,7 @@ class CSVImporter
description:
description_job
,
description:
description_job
,
level:
level
,
level:
level
,
salary:
salary
,
salary:
salary
,
company_id:
company
_
id
)
company_id:
company
.
id
)
job
=
Job
.
find_or_create_by!
(
title:
title_job
,
job
=
Job
.
find_or_create_by!
(
title:
title_job
,
description:
description_job
,
description:
description_job
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment