Skip to content

Instantly share code, notes, and snippets.

@kylehqcom
Last active January 21, 2016 02:45
Show Gist options
  • Save kylehqcom/a76529df791079cf7fa1 to your computer and use it in GitHub Desktop.
Save kylehqcom/a76529df791079cf7fa1 to your computer and use it in GitHub Desktop.
Raw json Navago defintion
{
"sections": [{
"name": "top",
"items": [{
"name": "Help",
"action": "/help",
"items": [],
"attributes": {}
}]
}, {
"name": "left",
"items": [{
"name": "Home",
"action": "/home",
"items": [],
"attributes": {}
}, {
"name": "Reporting",
"action": "/reporting",
"attributes": {},
"items": [],
"filters": [{
"provider": "feature",
"name": "reporting",
"default": true
}, {
"provider": "permission",
"name": "cashier",
"default": false
}, {
"provider": "subscription",
"name": "reporting",
"default": false
}]
}, {
"name": "Setup",
"action": "/setup",
"attributes": {},
"items": [{
"name": "General",
"action": "/setup",
"items": [],
"filters": [{
"provider": "permission",
"name": "manager",
"default": false
}],
"attributes": {
"new": true,
"foo": "bar"
}
}, {
"name": "Account",
"action": "/account",
"items": [],
"attributes": {}
}]
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment