mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
11 lines
265 B
JavaScript
11 lines
265 B
JavaScript
|
var Role = DS.Model.extend({
|
||
|
uuid: DS.attr('string'),
|
||
|
name: DS.attr('string'),
|
||
|
description: DS.attr('string'),
|
||
|
lowerCaseName: Ember.computed('name', function () {
|
||
|
return this.get('name').toLocaleLowerCase();
|
||
|
})
|
||
|
});
|
||
|
|
||
|
export default Role;
|