mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 20:57:47 +01:00
add link to question/answer in question display
This commit is contained in:
parent
5aa6248cb1
commit
ba9b6d1e12
1 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,9 @@
|
||||||
%h6.media-heading.text-muted.answerbox--question-user
|
%h6.media-heading.text-muted.answerbox--question-user
|
||||||
= user_screen_name q.user
|
= user_screen_name q.user
|
||||||
asked
|
asked
|
||||||
= time_ago_in_words(q.created_at)
|
%a{href: show_user_question_path(q.user.screen_name, q.id)}
|
||||||
ago
|
= time_ago_in_words(q.created_at)
|
||||||
|
ago
|
||||||
- if q.answer_count > 1
|
- if q.answer_count > 1
|
||||||
·
|
·
|
||||||
%a{href: show_user_question_path(q.user.screen_name, q.id)}
|
%a{href: show_user_question_path(q.user.screen_name, q.id)}
|
||||||
|
|
Loading…
Reference in a new issue