Sha256: 6402ab6f35ebc788c8fe0436d39ce1596c6013bd7e231acfff2925bf9f8e4b9f
Contents?: true
Size: 491 Bytes
Versions: 4
Compression:
Stored size: 491 Bytes
Contents
pageflow.OtherEntry = Backbone.Model.extend({ paramRoot: 'entry', urlRoot: '/entries', modelName: 'entry', i18nKey: 'pageflow/entry', initialize: function() { this.imageFiles = new pageflow.ImageFilesCollection([], {entry: this}); this.videoFiles = new pageflow.VideoFilesCollection([], {entry: this}); this.audioFiles = new pageflow.AudioFilesCollection([], {entry: this}); }, titleOrSlug: function () { return this.get('title') || this.get('slug'); } });
Version data entries
4 entries across 4 versions & 1 rubygems