diff --git a/README.md b/README.md index e2147e0..baa1354 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Adminmate is a tool allowing you to create customizable administration panels from your SQL/NoSQL databases. -The project has been built to fit tiny projects to bigger one. +The project has been built to fit tiny projects to bigger ones. ## Getting started @@ -10,17 +10,17 @@ The project has been built to fit tiny projects to bigger one. ## Databases compatibility -We only manage **MySQL** & **MongoDB** database for the moment. However we are working hard on adding *PostgreSQL* soon. +We only manage **MySQL** & **MongoDB** databases for the moment. However, we are working hard on adding *PostgreSQL* soon. ## Features Adminmate comes with all the features you need for your administration panel: * **CRUD**: Create-Read-Update-Delete actions * **Custom Actions**: Add your business custom logic -* **Segments**: Create unlimlited data segments +* **Segments**: Create unlimited data segments * **Dashboard**: Create charts from your data, directly from the Adminmate Dashboard or via our extensible API * **Team-based access**: Control who can create-read-update-delete the data and access to your dashboards & graphs ## Who are the contributors ? -The project has been created by **Marc Delalonde** and aims to stay an *independant project, driven by the community*. \ No newline at end of file +The project has been created by **Marc Delalonde** and aims to stay an *independent project, driven by the community*. \ No newline at end of file diff --git a/src/controllers/models.js b/src/controllers/models.js index d201fdc..b3a7b28 100644 --- a/src/controllers/models.js +++ b/src/controllers/models.js @@ -23,6 +23,7 @@ module.exports.getModels = api => { global._amConfig.models.forEach(modelConfig => { const modelObject = { slug: modelConfig.slug, + realname: api.getModelRealname(modelConfig.model), properties: api.getModelProperties(modelConfig.model), customactions: [], segments: []