Permalink
Browse files

* added host information

  • Loading branch information...
hone committed Jan 13, 2009
1 parent 8e2c1f3 commit 44832864985b7cf48ca9b59c6ede8bcbf4443e40
Showing with 3 additions and 2 deletions.
  1. +1 −0 app/models/notify.rb
  2. +1 −1 app/views/notify/success.text.html.erb
  3. +1 −1 app/views/notify/success.text.plain.erb
View
@@ -1,5 +1,6 @@
class Notify < ActionMailer::Base
FROM_ADDRESS = "test.otherinbox@gmail.com"
+ HOST = "http://backup.nitroleague.com"
def success(email, backup)
setup_mail( email )
@@ -1,2 +1,2 @@
<p>Hello,</p>
-<p>Your backups are now available and can be accessed here: <%= link_to 'download', "http://localhost:3000/download/#{@backup}" %></li>
+<p>Your backups are now available and can be accessed here: <%= link_to 'download', "#{HOST}/download/#{@backup}" %></li>
@@ -1,2 +1,2 @@
Hello,
-Your backups are now available and can be accessed here: http://localhost:3000/download/<%= @backup %>
+Your backups are now available and can be accessed here: <%= HOST %>/download/<%= @backup %>

0 comments on commit 4483286

Please sign in to comment.