mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 07:21:12 +00:00
Contributed by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@14540 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3b45b2e55c
commit
0dc3c2fe1c
1
Gemfile
1
Gemfile
@ -14,6 +14,7 @@ gem "protected_attributes"
|
|||||||
gem "actionpack-action_caching"
|
gem "actionpack-action_caching"
|
||||||
gem "actionpack-xml_parser"
|
gem "actionpack-xml_parser"
|
||||||
gem "loofah", "~> 2.0"
|
gem "loofah", "~> 2.0"
|
||||||
|
gem "roadie-rails"
|
||||||
|
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
|
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
|
||||||
|
|||||||
@ -15,6 +15,8 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
require 'roadie'
|
||||||
|
|
||||||
class Mailer < ActionMailer::Base
|
class Mailer < ActionMailer::Base
|
||||||
layout 'mailer'
|
layout 'mailer'
|
||||||
helper :application
|
helper :application
|
||||||
@ -22,6 +24,7 @@ class Mailer < ActionMailer::Base
|
|||||||
helper :custom_fields
|
helper :custom_fields
|
||||||
|
|
||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
|
include Roadie::Rails::Automatic
|
||||||
|
|
||||||
def self.default_url_options
|
def self.default_url_options
|
||||||
options = {:protocol => Setting.protocol}
|
options = {:protocol => Setting.protocol}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user