For #235, the only thing I'm unsure about here is the fact that I had to do a require('user') here since its a circular dependency, is that okay? Is there any other way to check if user is logged in that I am overlooking? Also we could put this check into a utility function since it may be used in other places.
For #235, the only thing I'm unsure about here is the fact that I had to do a
require('user')
here since its a circular dependency, is that okay? Is there any other way to check if user is logged in that I am overlooking? Also we could put this check into a utility function since it may be used in other places.