mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Only load ActionController::UrlWriter if ActionController is present [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Only load ActionController::UrlWriter if ActionController is present [Rick Olson]
|
||||
|
||||
* Make sure parsed emails recognized attachments nested inside multipart parts. #6714 [Jamis Buck]
|
||||
|
||||
* Rename server_settings to smtp settings, and add sendmail_settings to allow you to override the arguments to and location of the sendmail executable. [Koz]
|
||||
|
||||
@@ -219,7 +219,7 @@ module ActionMailer #:nodoc:
|
||||
# <tt>@implicit_parts_order</tt>.
|
||||
class Base
|
||||
include AdvAttrAccessor, PartContainer
|
||||
include ActionController::UrlWriter
|
||||
include ActionController::UrlWriter if Object.const_defined?(:ActionController)
|
||||
|
||||
# Action Mailer subclasses should be reloaded by the dispatcher in Rails
|
||||
# when Dependencies.mechanism = :load.
|
||||
|
||||
Reference in New Issue
Block a user