Skip to content

Commit

Permalink
[#3012] Show dashboard for unauthorized users
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 9, 2012
1 parent ff0d706 commit 118bdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/user.py
Expand Up @@ -501,7 +501,7 @@ def activity(self, id):
def dashboard(self, id=None):
context = {'model': model, 'session': model.Session,
'user': c.user or c.author, 'for_view': True}
data_dict = {'id': id, 'user_obj': c.userobj}
data_dict = {'id': id or c.user, 'user_obj': c.userobj}
self._setup_template_variables(context, data_dict)
return render('user/dashboard.html')

Expand Down

0 comments on commit 118bdc5

Please sign in to comment.