Project

General

Profile

Actions

Defect #15113

closed

The mail method should return a Mail::Message

Added by Florian Schwab about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The overwritten mail method (ActionMailer::Base) in source:trunk/app/models/mailer.rb should return a Mail object instead of a symbol (the locale set/returned by set_language_if_valid) to be compliant with the original mail method.


Files

mailer_return_value.patch (1021 Bytes) mailer_return_value.patch Florian Schwab, 2013-10-12 14:11
Actions

Also available in: Atom PDF