mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
add: user template message setting
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
json.user do
|
||||
json.partial! 'users/user_simple', locals: { user: setting.user }
|
||||
end
|
||||
json.notification_body setting.notification_body
|
||||
json.email_body setting.email_body
|
||||
@@ -0,0 +1,2 @@
|
||||
json.partial! "commons/success"
|
||||
json.partial! "detail", locals: {setting: @current_setting}
|
||||
@@ -0,0 +1,2 @@
|
||||
json.partial! "commons/success"
|
||||
json.partial! "detail", locals: {setting: @current_setting}
|
||||
Reference in New Issue
Block a user