Apply page
Create apply jobs
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
-
Toggle commit list
-
app/controllers/applies_controller.rb 0 → 100644
1 class AppliesController < ApplicationController 2 3 def new 4 @user_apply = Apply.new(session[:apply] || {}) 5 end 6 7 def create 8 return if current_user.nil? -
app/controllers/applies_controller.rb 0 → 100644
1 class AppliesController < ApplicationController 2 3 def new 4 @user_apply = Apply.new(session[:apply] || {}) 5 end 6 7 def create 8 return if current_user.nil? 9 @user_apply = Apply.new(user_apply_job) 10 @user_apply.job_id = Job.find(params[:id]).id 11 @user_apply.user_id = @current_user.id 12 if @user_apply.valid? 13 session[:apply] = @user_apply.as_json -
Master
yes, i got it. tks
-
-
app/views/users/_my_jobs.html.erb 0 → 100644
1 <div class="container mt-5" > 2 <div class="row mb-5 ml-5"> 3 <div class="search_list titlejob col-md-10"> 4 5 <%= link_to apply.job.job_title,job_detail_path(apply.job.id),class: 'search_list_jobs_title' %> 6 <% unless apply.job.short_description.nil? %> -
Master
yes i got it . tks so much
-
-
-
merged
Toggle commit list