dose that work

This commit is contained in:
nilsding 2014-12-25 15:13:52 +01:00
parent 9440eafbe8
commit de1ef57a8a
1 changed files with 3 additions and 5 deletions

View File

@ -8,15 +8,13 @@
.media-body
%h6.text-muted.media-heading.answerbox--question-user
= user_screen_name a.question.user, a.question.author_is_anonymous
- if @user.nil?
asked
asked
- if @user.nil? and a.question.author_is_anonymous
= time_ago_in_words(a.question.created_at)
ago
- else
asked
%a{href: show_user_question_path(a.question.user.screen_name, a.question.id)}
= time_ago_in_words(a.question.created_at)
ago
ago
- unless a.question.author_is_anonymous
- if a.question.answer_count > 1
·