Use friendly_date for note disappear description
There's no need to reimplement this in its own helper.
This commit is contained in:
parent
026fce06f4
commit
100a7f8979
3 changed files with 1 additions and 15 deletions
|
@ -95,7 +95,7 @@
|
|||
|
||||
<% if @note.freshly_closed? %>
|
||||
<small class="text-muted">
|
||||
<%= t ".disappear_date_html", :disappear_in => disappear_in(@note) %>
|
||||
<%= t ".disappear_date_html", :disappear_in => friendly_date(@note.freshly_closed_until) %>
|
||||
</small>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue