mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
2afc1ff04f
closes #2855 , closes #2848 - New mixin that utilizes NProgress for displaying a loading indictor for all routes who's model issue a "loading" event (aka: when requesting data from the server during a route change). - Also removing (the now unnecessary) "loading" template.
9 lines
256 B
JavaScript
9 lines
256 B
JavaScript
import styleBody from 'ghost/mixins/style-body';
|
|
import loadingIndicator from 'ghost/mixins/loading-indicator';
|
|
|
|
var ForgottenRoute = Ember.Route.extend(styleBody, loadingIndicator, {
|
|
classNames: ['ghost-forgotten']
|
|
});
|
|
|
|
export default ForgottenRoute;
|