Skip to content

Commit 706f2f9

Browse files
author
ja-heller
authored
Update data_not_found_plugin.js
updated the example, so it works fine again.
1 parent 5bbec36 commit 706f2f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/data_not_found_plugin/data_not_found_plugin.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Router.plugin('dataNotFound', {notFoundTemplate: 'DataNotFound'});
1+
Router.configure({
2+
notFoundTemplate: "DataNotFound"
3+
});
24

35
Router.route('/', function () {
46
this.render('Home');

0 commit comments

Comments
 (0)