0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Remove PostSettingsMenuView.

It seems that the properties this sets up (`datePlaceholder` and
`publishedAt`) are unused throughout the project.
This commit is contained in:
Robert Jackson 2014-12-28 22:14:02 -05:00
parent c3630f5255
commit eb2d940e11
No known key found for this signature in database
GPG key ID: B3D10EF8171F7219

View file

@ -1,14 +0,0 @@
/* global moment */
import {formatDate} from 'ghost/utils/date-formatting';
var PostSettingsMenuView = Ember.View.extend({
templateName: 'post-settings-menu',
publishedAtBinding: Ember.Binding.oneWay('controller.publishedAt'),
datePlaceholder: Ember.computed('controller.publishedAt', function () {
return formatDate(moment());
})
});
export default PostSettingsMenuView;