0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/client/app/controllers/settings
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
..
tags cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
code-injection.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
general.js Don't share errors and hasValidated references between validator instances 2016-04-25 10:56:11 +01:00
labs.js inject ajax service in settings/labs 2016-02-17 14:50:40 -06:00
navigation.js Use a custom transform to simplify navigation settings 2016-04-26 12:32:29 +01:00
tags.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00