mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
f0283ddb5a
- Moved `new` route into `editor` resource (`editor.new`) - Moved the current editor controller, view, and route to `editor.edit` - Added `editor.index`, which automatically transitions into `editor.new` - Moved controllers, views, templates, and routes to match new router config. Also changed links to `editor` into `editor.new` and `editor.edit` as appropriate.
9 lines
225 B
JavaScript
9 lines
225 B
JavaScript
var EditorNewView = Ember.View.extend({
|
|
tagName: 'section',
|
|
templateName: 'editor/edit',
|
|
classNames: ['entry-container'],
|
|
scrollPosition: 0 // percentage of scroll position
|
|
});
|
|
|
|
export default EditorNewView;
|