@@ -14,6 +14,7 gem "protected_attributes" | |||
|
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] |
@@ -15,6 +15,8 | |||
|
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,6 +24,7 class Mailer < ActionMailer::Base | |||
|
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} |
General Comments 0
You need to be logged in to leave comments.
Login now