0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/client/routes/editor.js

9 lines
205 B
JavaScript
Raw Normal View History

import ajax from "ghost/utils/ajax";
export default Ember.Route.extend({
classNames: "editor",
model: function (params) {
return ajax("/ghost/api/v0.1/posts/" + params.post_id);
}
});