diff --git a/ckan/controllers/user.py b/ckan/controllers/user.py index fe0e3c7606b..001a078307f 100644 --- a/ckan/controllers/user.py +++ b/ckan/controllers/user.py @@ -439,8 +439,8 @@ def _get_form_password(self): return password1 def followers(self, id=None): - context = {'model': model, 'user': c.user or c.author, - 'for_view': True} + context = {'model': model, 'session': model.Session, + 'user': c.user or c.author, 'for_view': True} data_dict = {'id':id, 'user_obj':c.userobj} self._setup_template_variables(context, data_dict) c.followers = get_action('user_follower_list')(context,