Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob_nth
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
3
Merge Requests
3
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
Ngô Trung Hưng
venjob_nth
Commits
2a8fd541
Commit
2a8fd541
authored
Aug 18, 2020
by
Ngô Trung Hưng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
980c93dc
Pipeline
#944
canceled with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
app/controllers/apply_job_controller.rb
+1
-1
No files found.
app/controllers/apply_job_controller.rb
View file @
2a8fd541
...
@@ -9,7 +9,7 @@ class ApplyJobController < ApplicationController
...
@@ -9,7 +9,7 @@ class ApplyJobController < ApplicationController
end
end
def
apply
def
apply
redirect_to
root_path
if
params
[
:job_id
].
blank?
re
turn
re
direct_to
root_path
if
params
[
:job_id
].
blank?
@data_apply
=
current_user
.
applied_jobs
.
new
(
name:
current_user
.
name
,
email:
current_user
.
email
)
@data_apply
=
current_user
.
applied_jobs
.
new
(
name:
current_user
.
name
,
email:
current_user
.
email
)
session
[
:job_id
]
=
params
[
:job_id
]
session
[
:job_id
]
=
params
[
:job_id
]
@job
=
Job
.
find
(
params
[
:job_id
])
@job
=
Job
.
find
(
params
[
:job_id
])
...
...
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