From a451cab3e91b927c50641d22c71ce9420ebefd52 Mon Sep 17 00:00:00 2001 From: Andreas N Date: Wed, 18 Feb 2015 00:07:38 +0100 Subject: [PATCH] show answer link in all cases --- app/views/shared/_answerbox.html.haml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/views/shared/_answerbox.html.haml b/app/views/shared/_answerbox.html.haml index f94909bf..36062247 100644 --- a/app/views/shared/_answerbox.html.haml +++ b/app/views/shared/_answerbox.html.haml @@ -55,13 +55,8 @@ - else .row .col-md-6.col-sm-4.col-xs-6.text-left.text-muted - - if a.question.author_is_anonymous? - %i.fa.fa-clock-o - %a{href: show_user_answer_path(a.user.screen_name, a.id)} - %span= time_ago_in_words(a.created_at) - ago - - else - %i.fa.fa-clock-o + %i.fa.fa-clock-o + %a{href: show_user_answer_path(a.user.screen_name, a.id)} %span= time_ago_in_words(a.created_at) ago .col-md-6.col-sm-8.col-xs-6.text-right