Add language routing

This commit is contained in:
Berkeley Martinez
2016-06-17 12:35:10 -07:00
parent ee4f1dbb73
commit 078560c3ba
18 changed files with 305 additions and 79 deletions

View File

@@ -195,6 +195,11 @@
"theme": {
"type": "string",
"default": "default"
},
"languageTag": {
"type": "string",
"description": "A IETF language tag",
"default": "en"
}
},
"validations": [],
@@ -256,6 +261,13 @@
"principalId": "$owner",
"permission": "ALLOW",
"property": "updateTheme"
},
{
"accessType": "EXECUTE",
"principalType": "ROLE",
"principalId": "$owner",
"permission": "ALLOW",
"property": "updateLanguage"
}
],
"methods": {}