1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

Signup + modal refactoring

This commit is contained in:
Toby Zerner
2015-02-08 15:59:39 +10:30
parent 6c3debc79b
commit d45f2fd1ac
14 changed files with 193 additions and 69 deletions

View File

@@ -14,6 +14,9 @@ export default DS.Model.extend({
groups: DS.hasMany('group'),
email: DS.attr('string'),
password: DS.attr('string'),
avatarNumber: function() {
return Math.random() > 0.3 ? Math.floor(Math.random() * 19) + 1 : null;
}.property()