mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 09:03:49 +08:00
be33363f13
his is a new feature that lets admins dismiss notices from the dashboard. This helps with self-service in cases where a notice is "stuck", while we work on provisions to prevent "sticking" in the first place.
6 lines
138 B
Ruby
6 lines
138 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AdminNoticeSerializer < ApplicationSerializer
|
|
attributes :id, :priority, :message, :identifier
|
|
end
|