Sha256: 7b0018a1c5e586b65447aaf4459948bf674a6b8f822bc335a335627bf41e712c
Contents?: true
Size: 610 Bytes
Versions: 17
Compression:
Stored size: 610 Bytes
Contents
module Refinery class UserMailer < ActionMailer::Base def reset_notification(user, request) @user = user @url = refinery.edit_refinery_user_password_url({ :host => request.host_with_port, :reset_password_token => @user.reset_password_token }) mail(:to => user.email, :subject => t('subject', :scope => 'refinery.user_mailer.reset_notification'), :from => "\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>") end protected def url_prefix(request) "#{request.protocol}#{request.host_with_port}" end end end
Version data entries
17 entries across 17 versions & 1 rubygems