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:
Dan Ungureanu
2020-11-24 13:06:52 +02:00
committed by GitHub
parent 2742595b00
commit 123107c28f
5 changed files with 29 additions and 1 deletions

View File

@ -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