lib/cachai.rb in cachai-0.2.5 vs lib/cachai.rb in cachai-0.2.6
- old
+ new
@@ -178,10 +178,10 @@
RestClient.post "https://api:#{@mailgun_api_key}"\
"@api.mailgun.net/v3/#{@mailgun_domain}/messages",
:from => 'comments@' + Cachai.domain,
:to => @recipient,
:subject => "New comment from #{response.author_name} at #{path}",
- :text => "#{response.content}\n\n--\nhttp://#{Cachai.domain}/#{path}"
+ :text => "#{response.content}\n\n--\nhttp://#{Cachai.domain}#{path}"
rescue => e
puts "MAIL ERROR: #{e.message}"
end
end