• Randall Leeds's avatar
    Resolve user authorization before view render · ca2083cc
    Randall Leeds authored
    Avoid having to watch the user in route controllers at all by resolving
    it as a prerequisite of the routes, much like the store bootstrap. The
    user may still be ``null`` but it will not be ``undefined``.
    
    For clarity, the $routeChangeStart handler is changed back to a
    function, ``cleanupAnnotations``, that is called explicitly from
    the user watcher in the ``AppController`` right before the route
    reloads.
    ca2083cc
Name
Last commit
Last update
h Loading commit data...
tests/js Loading commit data...
karma.config.js Loading commit data...
package.json Loading commit data...