Skip to content

Commit

Permalink
only send to support
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Nov 14, 2024
1 parent eff77a4 commit ebeae0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/notice/ext/setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module Ext::Setting
attribute :counters, :json, default: {}
attribute :showtime, :integer, default: 0
attribute :accept_email, :boolean, default: true

normalizes :notifiable_types, with: -> (params) { params.compact_blank }
end

def unread_count
Expand Down

0 comments on commit ebeae0a

Please sign in to comment.