Commit 8e50464d by Thai Ha

sample

parent 951ee8fe
.container.text-center
h2.my-5
| Register
p
| Thank you for register our service, an confirmation email with registration link has been sent to your email. Please check your email within 24 hours.
p
| Please note that the registration link is only valid for 24 hours.
p
| Over that period, you will have to register your email again.
\ No newline at end of file
From: /home/hamht/ThaiHa/VenJob/app/controllers/jobs_controller.rb:21 JobsController#index:
5: def index
6: @search = params
7: solr = Solr.new(@search)
8: if params[:city_slug]
9: jobs_query = solr.query_by_city
10: @name = City.find_by(slug: params[:city_slug]).name
11: elsif params[:industry_slug]
12: jobs_query = solr.query_by_industry
13: @name = Industry.find_by(slug: params[:industry_slug]).name
14: else
15: jobs_query = solr.query_all
16: @name = 'Jobs'
17: end
18:
19: get_jobs(jobs_query)
20: @jobs = Kaminari.paginate_array(@jobs).page(params[:page]).per(Job::JOB_PER_PAGE)
=> 21: binding.pry
22: 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