Ghost/ghost/admin/app/services/ghost-paths.js
Kevin Ansfield 5ce5dd04ab 🐛 Fixed low-resolution gravatar images on Team/User screens
closes https://github.com/TryGhost/Ghost/issues/9563
- fixes incorrect gravatar URLs by removing incorrect HTML encoding of the URL and enforcing URL encoding
- centralise image URL generation in the User model so that default image logic isn't spread across the app
- remove unnecessary proxy mixin from `ghost-paths` service (allows property access without `.get()`)
2018-05-14 12:15:08 +01:00

5 lines
140 B
JavaScript

import Service from '@ember/service';
import ghostPaths from 'ghost-admin/utils/ghost-paths';
export default Service.extend(ghostPaths());