Skip to content

Commit

Permalink
#88 RecipientInterceptor initial parameters was fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tayfunoziserikan committed Oct 1, 2013
1 parent fe6b690 commit 0710dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cybele/app_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def setup_staging_environment
run 'cp config/environments/production.rb config/environments/staging.rb'

prepend_file 'config/environments/staging.rb',
"Mail.register_interceptor RecipientInterceptor.new((Settings.email.noreply, subject_prefix: '[STAGING]'))\n"
"Mail.register_interceptor RecipientInterceptor.new(Settings.email.noreply, subject_prefix: '[STAGING]')\n"

config = <<-YML
email:
Expand Down Expand Up @@ -328,4 +328,4 @@ def set_user_time_zone
end
end
end
end
end

1 comment on commit 0710dd1

@baygunm
Copy link
Contributor

@baygunm baygunm commented on 0710dd1 Oct 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.