Skip to content

Commit

Permalink
Step 9.3: Changed the way of getting the list ID
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and Dotan Simha committed Nov 22, 2016
1 parent dfa664a commit a9c2111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/ui/pages/lists-show-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import './app-not-found.js';
import '../components/lists-show.js';

Template.Lists_show_page.onCreated(function listsShowPageOnCreated() {
this.getListId = () => FlowRouter.getParam('_id');
this.getListId = () => this.data._id;

this.autorun(() => {
this.subscribe('todos.inList', this.getListId());
Expand Down

0 comments on commit a9c2111

Please sign in to comment.