Commit 22ae23a8 authored by Robert Knight's avatar Robert Knight

Correct a comment about the events which trigger a route reload

parent 66411793
......@@ -46,8 +46,7 @@ module.exports = class AppController
options: ['Newest', 'Oldest', 'Location']
}
# Reload the view when the focused group changes or the
# list of groups that the user is a member of changes
# Reload the view when the user switches accounts
reloadEvents = [events.USER_CHANGED];
reloadEvents.forEach((eventName) ->
$scope.$on(eventName, (event, data) ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment