User new /my/preferences route in an email

This commit is contained in:
Robin Ward 2014-04-29 16:34:07 -04:00
parent dd1ebff956
commit 4d3effa686

View File

@ -23,7 +23,7 @@ module Email
@template_args = {site_name: SiteSetting.email_prefix.presence || SiteSetting.title,
base_url: Discourse.base_url,
user_preferences_url: "#{Discourse.base_url}/user_preferences" }.merge!(@opts)
user_preferences_url: "#{Discourse.base_url}/my/preferences" }.merge!(@opts)
if @template_args[:url].present?
@template_args[:respond_instructions] =