def lost_password(user, token)
with_recipient_locale user do
- @url = url_for(:controller => "passwords", :action => "reset_password",
- :token => token.token)
+ @url = user_reset_password_url(:token => token.token)
mail :to => user.email,
:subject => t(".subject")
def gpx_success(trace, possible_points)
with_recipient_locale trace.user do
@to_user = trace.user.display_name
+ @trace_url = show_trace_url(trace.user, trace)
@trace_name = trace.name
@trace_points = trace.size
@trace_description = trace.description
@trace_tags = trace.tags
@possible_points = possible_points
+ @my_traces_url = url_for(:controller => "traces", :action => "mine")
mail :to => trace.user.email,
:subject => t(".subject")