Skip to content

Instantly share code, notes, and snippets.

@dai-shi
Created March 28, 2016 01:48
Show Gist options
  • Select an option

  • Save dai-shi/6b3263a0683d0c34e509 to your computer and use it in GitHub Desktop.

Select an option

Save dai-shi/6b3263a0683d0c34e509 to your computer and use it in GitHub Desktop.
diff --git a/imports/ui/App.jsx b/imports/ui/App.jsx
index 7694eb8..ce0b541 100644
--- a/imports/ui/App.jsx
+++ b/imports/ui/App.jsx
@@ -95,5 +95,6 @@ export default createContainer(() => {
return {
tasks: Tasks.find({}, { sort: { createdAt: -1 } }).fetch(),
incompleteCount: Tasks.find({ checked: { $ne: true } }).count(),
+ currentUser: Meteor.user(),
};
}, App);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment