FIX: Change bookmarks-with-reminders URL back to bookmarks for user activity (#9566)

* Bookmarks with reminders is a core feature now, no need to have a separate URL
* Keep around the old /u/:username/activity/bookmarks-with-reminders route for backwards compat in Ember but just redirect to user activity bookmarks.
This commit is contained in:
Martin Brennan
2020-04-29 10:53:37 +10:00
committed by GitHub
parent 17ca47af1a
commit 6cf31f16f7
11 changed files with 32 additions and 42 deletions

View File

@ -238,7 +238,7 @@ module DiscourseNarrativeBot
return unless @post.user_id == self.discobot_user.id
profile_page_url = url_helpers(:user_url, username: @user.username)
bookmark_url = "#{profile_page_url}/activity/bookmarks-with-reminders"
bookmark_url = "#{profile_page_url}/activity/bookmarks"
raw = <<~RAW
#{I18n.t("#{I18N_KEY}.bookmark.reply", i18n_post_args(bookmark_url: bookmark_url))}