RS, a little bit of autolinking in statuses and comments
This commit is contained in:
parent
2b0659e21d
commit
3d976ca47e
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
%li.comment{:id => comment.id}
|
||||
%span.from
|
||||
= link_to_person comment.person
|
||||
= comment.text
|
||||
= auto_link comment.text
|
||||
%div.time
|
||||
= "#{time_ago_in_words(comment.updated_at)} ago"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%li.message{:id => post.id, :class => ("mine" if mine?(post))}
|
||||
%span.from
|
||||
= link_to_person post.person
|
||||
= post.message
|
||||
= auto_link post.message
|
||||
|
||||
%div.time
|
||||
= link_to(how_long_ago(post), status_message_path(post))
|
||||
|
|
|
|||
Loading…
Reference in a new issue