Feature #8335 ยป email-inline-css.diff
| Gemfile (working copy) | ||
|---|---|---|
|
gem "actionpack-action_caching"
|
||
|
gem "actionpack-xml_parser"
|
||
|
gem "loofah", "~> 2.0"
|
||
|
gem "roadie-rails"
|
||
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||
|
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
|
||
| app/models/mailer.rb (working copy) | ||
|---|---|---|
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
require 'roadie'
|
||
|
class Mailer < ActionMailer::Base
|
||
|
layout 'mailer'
|
||
|
helper :application
|
||
| ... | ... | |
|
helper :custom_fields
|
||
|
include Redmine::I18n
|
||
|
include Roadie::Rails::Automatic
|
||
|
def self.default_url_options
|
||
|
options = {:protocol => Setting.protocol}
|
||