Some fixes of bugs during last commit.
This commit is contained in:
parent
e8d55e50c0
commit
7ff0467b16
6 changed files with 21 additions and 16 deletions
|
|
@ -11,7 +11,7 @@ module MessagesHelper
|
|||
groups
|
||||
end
|
||||
|
||||
def format_subject(message)
|
||||
truncate "<b>#{link_to(h(message.subject), message)}</b> <span style='color:grey'>#{h(message.body)}</span>", :length => 200
|
||||
def format_subject(message, length)
|
||||
truncate "<b>#{link_to(h(message.subject), message)}</b> <span style='color:grey'>#{h(message.body)}</span>", :length => length
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue