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

Simple format, fixed space

parent ce6c91d9
class Job < ApplicationRecord
has_many :user_jobs
has_many :city_jobs
belongs_to :city
def self.latest_jobs
@latest ||= order(created_at: :desc).take(Settings.top.job.limit)
......
......@@ -13,7 +13,7 @@
<div class="row row-cols">
<div class="col">
<h4><b>Description:</b></h4>
<%= truncate( jobs_list.description, length: 250) %>
<%= truncate(simple_format(jobs_list.description), escape: false, length: 250) %>
</div>
</div>
<div class="row row-cols">
......
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