Categorise Web Push Subscriptions in Rails Admin
This commit is contained in:
parent
39ec2836f6
commit
ffb849047f
|
@ -77,7 +77,8 @@ RailsAdmin.config do |config|
|
|||
"Services::Twitter" => "dumpster-fire",
|
||||
"Theme" => "paint-brush",
|
||||
"User" => "user",
|
||||
"UserBan" => "user-lock"
|
||||
"UserBan" => "user-lock",
|
||||
"WebPushSubscription" => "dot-circle"
|
||||
}.each do |model, icon|
|
||||
config.model model do
|
||||
navigation_icon "fa fa-fw fa-#{icon} me-1"
|
||||
|
@ -95,6 +96,7 @@ RailsAdmin.config do |config|
|
|||
"Relationship" => User,
|
||||
"Service" => User,
|
||||
"Theme" => User,
|
||||
"WebPushSubscription" => User,
|
||||
|
||||
"ListMember" => List
|
||||
}.each do |model, parent_model|
|
||||
|
|
Loading…
Reference in New Issue