Skip to content

Commit

Permalink
[#2304] Fix bug in user controller followers page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed May 14, 2012
1 parent 67b1913 commit 7bc2a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/controllers/user.py
Expand Up @@ -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,
Expand Down

0 comments on commit 7bc2a6e

Please sign in to comment.