mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Merged r2983 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2984 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3601c13b3b
commit
48ee58f6b9
@ -159,7 +159,7 @@ module ApplicationHelper
|
||||
|
||||
# Truncates and returns the string as a single line
|
||||
def truncate_single_line(string, *args)
|
||||
truncate(string, *args).gsub(%r{[\r\n]+}m, ' ')
|
||||
truncate(string.to_s, *args).gsub(%r{[\r\n]+}m, ' ')
|
||||
end
|
||||
|
||||
def html_hours(text)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user