0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/client/app/models
Kevin Ansfield 9c5eaab37f Use a custom transform to simplify navigation settings
no issue
- moves the `NavItem` object from the navigation controller to an explicit `NavigationItem` model file
- adds a custom transform `navigation-settings` that transforms the navigation settings JSON string to/from an array of `NavigationItem` objects
- simplifies the `settings/navigation` controller as it no longer has to export it's own internal model and handle serialization and deserialization

This pattern should also help simplify the apps/slack integration code if implemented there.
2016-04-26 12:32:29 +01:00
..
navigation-item.js Use a custom transform to simplify navigation settings 2016-04-26 12:32:29 +01:00
notification.js deps: ember-data@2.3.2 2016-01-19 14:36:39 +00:00
post.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
role.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
setting.js Use a custom transform to simplify navigation settings 2016-04-26 12:32:29 +01:00
tag.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
user.js deps: ember-suave@2.0.1 2016-04-08 16:27:24 +01:00