REFACTOR: Change watch wording to unignore (#7112)

* REFACTOR: Change `watch` wording to `unignore`
This commit is contained in:
Tarek Khalil
2019-03-05 14:40:31 +00:00
committed by GitHub
parent 9e09224eb4
commit f19d36cbba
7 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -637,7 +637,7 @@ en:
private_message: "Message"
private_messages: "Messages"
ignore: "Ignore"
watch: "Watch"
unignore: "Unignore"
activity_stream: "Activity"
preferences: "Preferences"
profile_hidden: "This user's public profile is hidden."
+1 -1
View File
@@ -422,7 +422,7 @@ Discourse::Application.routes.draw do
get "#{root_path}/:username/staff-info" => "users#staff_info", constraints: { username: RouteFormat.username }
get "#{root_path}/:username/summary" => "users#summary", constraints: { username: RouteFormat.username }
put "#{root_path}/:username/ignore" => "users#ignore", constraints: { username: RouteFormat.username }
delete "#{root_path}/:username/ignore" => "users#watch", constraints: { username: RouteFormat.username }
delete "#{root_path}/:username/ignore" => "users#unignore", constraints: { username: RouteFormat.username }
get "#{root_path}/:username/invited" => "users#invited", constraints: { username: RouteFormat.username }
get "#{root_path}/:username/invited_count" => "users#invited_count", constraints: { username: RouteFormat.username }
get "#{root_path}/:username/invited/:filter" => "users#invited", constraints: { username: RouteFormat.username }