app/helpers/application_helper.rb
# Render user's fullname and username.
Render user's fullname and username.
Render user ' s fullname and username .
def imprint(user)
    content_tag(:span, class: 'imprint') do
      concat content_tag(:strong, user.fullname, class: 'fullname')
      concat ' ('
      concat content_tag(:span, '@' + user.username, class: %w(username small))
      concat ')'
    end
  end
def imprint ( user ) content_tag ( :span , class : 'imprint' ) do concat content_tag ( :strong , user . fullname , class : 'fullname' ) concat ' (' concat content_tag ( :span , '@' + user . username , class : %w( username small ) ) concat ')' end end
Render user's fullname and username.
Render user ' s fullname and username .
user