Commit bfdd8fe0 by Đường Sỹ Hoàng

Fixed naming

parent 85e4f1fd
//= require bootstrap
//= require bootstrap.min
......@@ -66,7 +66,7 @@ h1, h2, h3, h4, h5, h6 {
.form-inline-city {
padding: 5px;
}
}A
.form-inline-industry {
padding: 5px;
......
......@@ -3,7 +3,7 @@ class Industry < ApplicationRecord
has_many :jobs, through: :industry_jobs
def self.sort_top_industries
@cindustries ||= all.sort_by(&:jobs_count).reverse
@industries ||= all.sort_by(&:jobs_count).reverse
end
def jobs_count
......
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