Skip to content

Commit

Permalink
[#3005] Remove some unnecessary default param values
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Nov 12, 2012
1 parent 115e703 commit 984d49e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/controllers/group.py
Expand Up @@ -554,18 +554,18 @@ def unfollow(self, id):
h.flash_error(error_message)
h.redirect_to(controller='group', action='read', id=id)

def followers(self, id=None):
def followers(self, id):
context = self._get_group_dict(id)
c.followers = get_action('group_follower_list')(context,
{'id': c.group_dict['id']})
return render('group/followers.html')

def admins(self, id=None):
def admins(self, id):
context = self._get_group_dict(id)
c.admins = self.authorizer.get_admins(context['group'])
return render('group/admins.html')

def about(self, id=None):
def about(self, id):
self._get_group_dict(id)
return render('group/about.html')

Expand Down

0 comments on commit 984d49e

Please sign in to comment.