Initial Redmine tooling and local plugin forks
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# encoding: utf-8
|
||||
# include RedCloth
|
||||
|
||||
module HelpdeskMailerHelper
|
||||
def textile(text)
|
||||
Redmine::WikiFormatting.to_html(Setting.text_formatting, text)
|
||||
end
|
||||
|
||||
def message_sender(email)
|
||||
sender = email.reply_to.try(:first) || email.from_addrs.try(:first)
|
||||
sender.to_s.strip
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user