Commit 00290967 by Mai Hoang Thai Ha

fixed buttom

parent cbcd57ee
...@@ -5,7 +5,7 @@ class JobsController < ApplicationController ...@@ -5,7 +5,7 @@ class JobsController < ApplicationController
if job_params.present? if job_params.present?
search search
else else
@jobs = Job.joins(:favorite_jobs).sort_by_date(page: params[:page], per_page: Job::JOB_PER_PAGE) @jobs = Job.sort_by_date(page: params[:page], per_page: Job::JOB_PER_PAGE)
end end
end end
......
This diff is collapsed. Click to expand it.
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