mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
6c9f8ec32d
no issue Improve the route communication between Ghost Admin and Ghost Explore to reflect route changes in the URL and correctly navigate to Explore sub routes
11 lines
274 B
JavaScript
11 lines
274 B
JavaScript
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class ExploreRoute extends AuthenticatedRoute {
|
|
@service store;
|
|
|
|
model() {
|
|
return this.store.findAll('integration');
|
|
}
|
|
}
|