gitlink-forgeplus/app/views/template_message_settings/_detail.json.jbuilder

9 lines
270 B
Ruby

json.type type
json.type_name type.constantize.type_name
json.total_settings_count count
json.settings do
json.array! type.constantize.openning.limit(100).each do |setting|
json.(setting, :name, :key, :email_disabled)
json.notification_disabled false
end
end