Skip to content

Commit

Permalink
small cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Jan 8, 2018
1 parent b288327 commit 9d1322e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckan/views/user.py
Expand Up @@ -60,7 +60,6 @@ def _extra_template_variables(context, data_dict):
except logic.NotAuthorized:
base.abort(403, _(u'Not authorized to see this page'))

user_dict = user_dict
is_myself = user_dict[u'name'] == g.user
about_formatted = h.render_markdown(user_dict[u'about'])
extra = {
Expand Down Expand Up @@ -122,7 +121,6 @@ def index():
return base.render(u'user/list.html', extra_vars)


# TODO: update after dashboard blueprint finished
def me():
route = u'dashboard.index' if g.user else u'user.login'
return h.redirect_to(route)
Expand Down

0 comments on commit 9d1322e

Please sign in to comment.