Skip to content

Commit

Permalink
Proper use of inheritance in Pling::ActionMailer::Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt committed Oct 31, 2011
1 parent 6f3f7d9 commit 461de27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pling/action_mailer/gateway.rb
Expand Up @@ -8,7 +8,8 @@ class Gateway < Pling::Gateway
handles :email, :mail, :actionmailer

def initialize(configuration)
setup_configuration(configuration, :require => [:from])
super
require_configuration([:from])
end

def deliver!(message, device)
Expand Down

0 comments on commit 461de27

Please sign in to comment.