fix: Fix section names in Admin

This commit is contained in:
Robert Prehn 2021-04-09 16:17:38 -05:00
parent c92a3633d2
commit c550191e6a

View file

@ -12,13 +12,13 @@ config :kaffy,
config :admin, Legendary.Admin, config :admin, Legendary.Admin,
resources: [ resources: [
auth: [ auth: [
name: "Legendary.Auth", name: "Auth",
resources: [ resources: [
user: [schema: Legendary.Auth.User, admin: Legendary.Auth.UserAdmin], user: [schema: Legendary.Auth.User, admin: Legendary.Auth.UserAdmin],
] ]
], ],
content: [ content: [
name: "Legendary.Content", name: "Content",
resources: [ resources: [
post: [schema: Legendary.Content.Post, admin: Legendary.Content.PostAdmin, label: "Posts and Pages", id_column: :name], post: [schema: Legendary.Content.Post, admin: Legendary.Content.PostAdmin, label: "Posts and Pages", id_column: :name],
comment: [schema: Legendary.Content.Comment, admin: Legendary.Content.CommentAdmin], comment: [schema: Legendary.Content.Comment, admin: Legendary.Content.CommentAdmin],