Open jurijstoks opened 5 years ago
/plugins/redmine_email_inline_images/lib/redmine_email_inline_images/mail_handler_patch.rb "Line 7"
module RedmineEmailInlineImages
module MailHandlerPatch
def self.included(base) # :nodoc:
base.send(:include, InstanceMethods)
base.class_eval do
- #alias_method_chain :plain_text_body, :email_inline_images
+ alias_method :plain_text_body_without_email_inline_images, :plain_text_body
+ alias_method :plain_text_body, :plain_text_body_with_email_inline_images
end
end
Looks like all working :)
Plugin not working with Redmine version 4.0.4., is it possible to fix it? Error related to 'alias_method_chain'......