mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
4883d73a0f
refs https://github.com/TryGhost/Team/issues/3151 The api service in admin-x was using hardcoded `x-ghost-version` as we did not have access to version value in the app so far. This change passes the ghost version from ember Admin app to Settings-X app via props, and refactors the api util to use the app version as a common header. - Adds new services provider to pass common services for the app - passes API as a service via context for the App - refactors existing API usage to use api from context |
||
---|---|---|
.. | ||
settings.hbs | ||
settings.js |