##// END OF EJS Templates
Merged r2983 from trunk....
Jean-Philippe Lang -
r2870:48ee58f6b98a
parent child
Show More
@@ -159,7 +159,7 module ApplicationHelper
159 159
160 160 # Truncates and returns the string as a single line
161 161 def truncate_single_line(string, *args)
162 truncate(string, *args).gsub(%r{[\r\n]+}m, ' ')
162 truncate(string.to_s, *args).gsub(%r{[\r\n]+}m, ' ')
163 163 end
164 164
165 165 def html_hours(text)
General Comments 0
You need to be logged in to leave comments. Login now