We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3378e53 + 9d32865 commit cf66c10Copy full SHA for cf66c10
app/routes/crate.js
@@ -14,7 +14,7 @@ export default Route.extend({
14
},
15
16
afterModel(model) {
17
- if (typeof model.get === 'function') {
+ if (model && typeof model.get === 'function') {
18
this.setHeadTags(model);
19
}
20
0 commit comments