diff --git a/app/views/shared/_answerbox.html.haml b/app/views/shared/_answerbox.html.haml index 8673f2ce..f703c030 100644 --- a/app/views/shared/_answerbox.html.haml +++ b/app/views/shared/_answerbox.html.haml @@ -9,7 +9,7 @@ %h6.text-muted.media-heading.answerbox--question-user = user_screen_name a.question.user, a.question.author_is_anonymous asked - - if @user.nil? and a.question.author_is_anonymous and !a.question.user.nil? + - if @user.nil? or a.question.author_is_anonymous = time_ago_in_words(a.question.created_at) - else %a{href: show_user_question_path(a.question.user.screen_name, a.question.id)}