aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-06-14 08:04:49 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-06-14 08:04:49 +0000
commitbca13f727eb7410857059bab38dc58f81dbde321 (patch)
treee9f40cf11e360178a7ff519eecd0709d10f2ec7a /actionmailer/lib
parent1d9905a67f9bf00867883d3a954df3d4df90eaba (diff)
downloadrails-bca13f727eb7410857059bab38dc58f81dbde321.tar.gz
rails-bca13f727eb7410857059bab38dc58f81dbde321.tar.bz2
rails-bca13f727eb7410857059bab38dc58f81dbde321.zip
Changed test requests to come from 0.0.0.0 instead of 127.0.0.1 such that they don't trigger debugging screens on exceptions, but instead call rescue_action_in_public
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/base.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 910ee8dd5b..4a935de5d6 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -239,7 +239,6 @@ module ActionMailer #:nodoc:
end
private
-
def render_message(method_name, body)
ActionView::Base.new(template_path, body).render_file(method_name)
end