diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-05-12 12:31:39 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-05-12 12:31:39 +0200 |
commit | 1d0c46a9711050e116147437fbb334bd800324f3 (patch) | |
tree | 267b7815a9a00f73f254db5d47f6299759071d95 /lib/config | |
parent | 0cf1fbcfae7f618f188f8b44051e5fc0724f8728 (diff) |
Modification for new RestClient: body instead of to_s
Diffstat (limited to 'lib/config')
-rw-r--r-- | lib/config/config_ru.rb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/config/config_ru.rb b/lib/config/config_ru.rb index 8470f0e..09fba3b 100644 --- a/lib/config/config_ru.rb +++ b/lib/config/config_ru.rb @@ -18,8 +18,11 @@ set :raise_errors, true end use Rack::ShowExceptions -#use Rack::MailExceptions do |mail| -# mail.to '...@example.com' -# mail.subject '[ERROR] %s' -# mail.smtp MAIL -#end +#if MAIL +# use Rack::MailExceptions do |mail| +# mail.to 'helma@in-silico.ch' +# mail.subject '[ERROR] %s' +# mail.from "toxcreate@in-silico.ch" +# mail.smtp MAIL +# end +#end |