Skip to content

Commit 481b00d

Browse files
committed
Merge pull request #385 from 10gen/INT-1430-collection-name-bug
INT-1430 give collection name a separate hook
2 parents 4750ab2 + 8f797d1 commit 481b00d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/home/collection.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
header
33
.row
44
.col-md-6
5-
h1(data-hook='name')
5+
h1(data-hook='collection-name')
66
.col-md-6
77
div(data-hook='stats-subview')
88
.row

src/app/home/collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var MongoDBCollectionView = View.extend({
4444
no: 'hidden'
4545
},
4646
'model._id': {
47-
hook: 'name'
47+
hook: 'collection-name'
4848
},
4949
activeView: {
5050
type: 'switchClass',

0 commit comments

Comments
 (0)