Skip to content

Commit 2b5a1be

Browse files
author
Robert Yokota
committed
2 parents 0ae376a + f9bbbac commit 2b5a1be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/models/_index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ fs
1919
})
2020

2121
Object.keys(db).forEach(function(modelName) {
22-
if (db[modelName].options.hasOwnProperty('associate')) {
23-
db[modelName].options.associate(db)
22+
if (db[modelName].hasOwnProperty('associate')) {
23+
db[modelName].associate(db)
2424
}
2525
})
2626

0 commit comments

Comments
 (0)