##// END OF EJS Templates
add roadie-rails gem for e-mail inline styles (#8335, #20641)...
Toshi MARUYAMA -
r14158:0dc3c2fe1c86
parent child
Show More
@@ -14,6 +14,7 gem "protected_attributes"
14 gem "actionpack-action_caching"
14 gem "actionpack-action_caching"
15 gem "actionpack-xml_parser"
15 gem "actionpack-xml_parser"
16 gem "loofah", "~> 2.0"
16 gem "loofah", "~> 2.0"
17 gem "roadie-rails"
17
18
18 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
19 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
19 gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
20 gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
@@ -15,6 +15,8
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require 'roadie'
19
18 class Mailer < ActionMailer::Base
20 class Mailer < ActionMailer::Base
19 layout 'mailer'
21 layout 'mailer'
20 helper :application
22 helper :application
@@ -22,6 +24,7 class Mailer < ActionMailer::Base
22 helper :custom_fields
24 helper :custom_fields
23
25
24 include Redmine::I18n
26 include Redmine::I18n
27 include Roadie::Rails::Automatic
25
28
26 def self.default_url_options
29 def self.default_url_options
27 options = {:protocol => Setting.protocol}
30 options = {:protocol => Setting.protocol}
General Comments 0
You need to be logged in to leave comments. Login now