Orbit/app/helpers/member_helper.rb

5 lines
87 B
Ruby
Raw Normal View History

module MemberHelper
def nl2br(val)
val.gsub(/\r\n/, '<br />').html_safe
end
end