]> git.openstreetmap.org Git - rails.git/blob - app/models/notifier.rb
rails updates
[rails.git] / app / models / notifier.rb
1 class Notifier < ActionMailer::Base
2
3   def signup_confirm( user )
4     # Email header info MUST be added here
5     @recipients = user.email
6     @from = 'abuse@openstreetmap.org'
7     @subject = '[OpenStreetMap] Confirm your email address'
8
9     @body['url'] = 'http://www.openstreetmap.org/user/confirm?confirm_string=' + user.token
10   end
11   
12 end