mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
c4188c1a9e
no issue - Added Ghost Explore screen behind alpha flag - Moved existing /explore route to /explore/connect which we'll redirect to for outside requests - Added iframe communication with Ghost Explore App
11 lines
284 B
JavaScript
11 lines
284 B
JavaScript
import ExploreRoute from './index';
|
|
|
|
export default class ExploreConnectRoute extends ExploreRoute {
|
|
controllerName = 'explore';
|
|
|
|
// Ensure to always close the iframe, as we're now on an Ember route
|
|
beforeModel() {
|
|
this.explore.toggleExploreWindow(false);
|
|
}
|
|
}
|