File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,24 @@ def configure_smtp
113
113
configure_environment 'production' , config
114
114
end
115
115
116
+ # Interval: Setup exception_notification
117
+ def set_exception_notification
118
+ config = <<-RUBY
119
+ config.middleware.use ExceptionNotifier,
120
+ :email_prefix => "[#{ app_name } ] ",
121
+ :sender_address => %{"notifier" <no-reply@#{ app_name } .com>},
122
+ :exception_recipients => %w{[email protected] } #TODO change this with original
123
+ RUBY
124
+
125
+ configure_environment 'production' , config
126
+ end
127
+
116
128
# Interval: Configure action mailer
117
129
def configure_action_mailer
118
130
action_mailer_host 'development' , "#{ app_name } .dev"
119
131
action_mailer_host 'test' , "#{ app_name } .com"
120
132
action_mailer_host 'production' , "#{ app_name } .com"
133
+
121
134
end
122
135
123
136
# Interval: Setup letter opener
You can’t perform that action at this time.
0 commit comments