Skip to content

Commit

Permalink
[Action Mailer] require => require_relative
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jul 1, 2017
1 parent c4d1a4e commit cd9cc72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actionmailer/lib/action_mailer.rb
Expand Up @@ -22,7 +22,7 @@
#++

require "abstract_controller"
require "action_mailer/version"
require_relative "action_mailer/version"

# Common Active Support usage in Action Mailer
require "active_support"
Expand Down
6 changes: 3 additions & 3 deletions actionmailer/lib/action_mailer/base.rb
@@ -1,11 +1,11 @@
require "mail"
require "action_mailer/collector"
require_relative "collector"
require "active_support/core_ext/string/inflections"
require "active_support/core_ext/hash/except"
require "active_support/core_ext/module/anonymous"

require "action_mailer/log_subscriber"
require "action_mailer/rescuable"
require_relative "log_subscriber"
require_relative "rescuable"

module ActionMailer
# Action Mailer allows you to send email from your application using a mailer model and views.
Expand Down

0 comments on commit cd9cc72

Please sign in to comment.