orbit-4-2/app/helpers/member_helper.rb

5 lines
87 B
Ruby
Raw Permalink Normal View History

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