Commit 9f9afa19 by Mai Hoang Thai Ha

push heroku

parent 66f58ce6
......@@ -6,6 +6,7 @@ class TopController < ApplicationController
solr = Solr.new(params)
@latest_jobs = get_jobs(solr.latest_jobs)
@total_job = solr.query_all['response']['numFound']
@total_job = 100
@top_cities = solr.facet_query('city_id')['vietnam'].take(City::TOP_JOB_COUNT)
@top_industries = solr.facet_query('industry_id').take(Industry::TOP_JOB_COUNT)
end
......
......@@ -12,7 +12,6 @@
default: &default
adapter: mysql2
encoding: utf8mb4
host: localhost
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: root
password: 'admin'
......
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