Skip to content

Instantly share code, notes, and snippets.

@smpallen99
Created April 12, 2015 12:43
Show Gist options
  • Select an option

  • Save smpallen99/a96a6dac9cbc805a8cbf to your computer and use it in GitHub Desktop.

Select an option

Save smpallen99/a96a6dac9cbc805a8cbf to your computer and use it in GitHub Desktop.
Conform tuple support
# Provide documentation for cfg.settings.login_defaults here.
cfg.settings.login_defaults = {/orange,initiate@example.com}, {/orange/monitor,admin@example.com}
[
mappings: [
"cfg.settings.login_defaults": [
doc: "Provide documentation for cfg.settings.login_defaults here.",
to: "cfg.settings.login_defaults",
datatype: [
list: :tuple
],
default: [
{"/orange", "initiate@example.com"},
{"/orange/monitor", "admin@example.com"}
]
]
],
translations: [
]
]
use Mix.Config
config :cfg, :settings, [
login_defaults: [
{"/orange", "initiate@example.com"},
{"/orange/monitor", "admin@example.com"},
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment