def signup_confirm(user, token)
with_recipient_locale user do
def signup_confirm(user, token)
with_recipient_locale user do
:display_name => user.display_name,
:confirm_string => token.token)
:display_name => user.display_name,
:confirm_string => token.token)
def email_confirm(user, token)
with_recipient_locale user do
@address = user.new_email
def email_confirm(user, token)
with_recipient_locale user do
@address = user.new_email
:confirm_string => token.token)
mail :to => user.new_email,
:confirm_string => token.token)
mail :to => user.new_email,
def lost_password(user, token)
with_recipient_locale user do
def lost_password(user, token)
with_recipient_locale user do
return image.path(:small)
else
return Rails.root.join("app", "assets", "images", "users", "images", "small.png")
return image.path(:small)
else
return Rails.root.join("app", "assets", "images", "users", "images", "small.png")