Created
May 27, 2015 00:32
-
-
Save pixeldesu/d5d5837fe4c875b4a774 to your computer and use it in GitHub Desktop.
THE LONGEST LINE OF HAML YOU WILL EVER SEE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= raw t('views.answerbox.question', user: user_screen_name(a.question.user, a.question.author_is_anonymous), time: (@user.nil? or a.question.author_is_anonymous) ? tooltip(time_ago_in_words(a.question.created_at), a.question.created_at, "bottom") : link_to(tooltip(time_ago_in_words(a.question.created_at), a.question.created_at, "bottom"),show_user_question_path(a.question.user.screen_name, a.question.id))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment