email-inline-css.diff

Go MAEDA, 2015-08-05 17:36

Download (1.01 KB)

View differences:

Gemfile (working copy)
14 14
gem "actionpack-action_caching"
15 15
gem "actionpack-xml_parser"
16 16
gem "loofah", "~> 2.0"
17
gem "roadie-rails"
17 18

  
18 19
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
19 20
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
app/models/mailer.rb (working copy)
15 15
# along with this program; if not, write to the Free Software
16 16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 17

  
18
require 'roadie'
19

  
18 20
class Mailer < ActionMailer::Base
19 21
  layout 'mailer'
20 22
  helper :application
......
22 24
  helper :custom_fields
23 25

  
24 26
  include Redmine::I18n
27
  include Roadie::Rails::Automatic
25 28

  
26 29
  def self.default_url_options
27 30
    options = {:protocol => Setting.protocol}