Commit 84915250 by Tô Ngọc Ánh

change name job_list view to index

parent d1105e30
Pipeline #821 failed with stages
in 0 seconds
......@@ -5,6 +5,5 @@ class JobsController < ApplicationController
object = params[:model].classify.constantize.find_by_slug(params[:slug])
@keyword = object.try(:name) || object.try(:city)
@jobs = object.jobs.all.includes(:company, :locations, :industries).page(params[:page])
render 'job_list'
end
end
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