add link to question/answer in question display
This commit is contained in:
parent
5aa6248cb1
commit
ba9b6d1e12
|
@ -5,6 +5,7 @@
|
|||
%h6.media-heading.text-muted.answerbox--question-user
|
||||
= user_screen_name q.user
|
||||
asked
|
||||
%a{href: show_user_question_path(q.user.screen_name, q.id)}
|
||||
= time_ago_in_words(q.created_at)
|
||||
ago
|
||||
- if q.answer_count > 1
|
||||
|
|
Loading…
Reference in New Issue