Created
May 15, 2017 04:23
-
-
Save smpallen99/c0bd6b7bafb94aba28714bde1aedb85e to your computer and use it in GitHub Desktop.
ExAdminRedux Config Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Very similar to current ExAdmin config file | |
# This examples belows to a demo app called `NewAdmin` | |
use Mix.Config | |
# List of Resource Modules, on for each ExAdmin managed resource | |
config :ex_admin, resources: [ | |
NewAdmin.ExAdmin.Country, | |
NewAdmin.ExAdmin.State, | |
NewAdmin.ExAdmin.User, | |
], | |
module: NewAdmin, | |
# ExAdmin will use the Apps' Gettext Module | |
messages_backend: NewAdmin.Gettext, | |
# much better them support | |
theme: "material_bootstrap", | |
# ExAdmin requires an adapter for reflecting on the model's | |
# schema. I have implemented an Ecto adapter which lives | |
# in a separate dependency. This will allow support for non-ecto models | |
schema_adapter: ExAdmin.Schema.Adapters.Ecto | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment