mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Add group name to error message (#11333)
The group name used to be part of the error message, but was removed in a past commit.
This commit is contained in:
@@ -112,6 +112,7 @@ class TopicsController < ApplicationController
|
||||
'not in group',
|
||||
ex.obj,
|
||||
custom_message: 'not_in_group.title_topic',
|
||||
custom_message_params: { group: group.name },
|
||||
group: group
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user