Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #54 from pickle27/master
Browse files Browse the repository at this point in the history
fix breadcrumbs for irc logs
  • Loading branch information
kevinhughes27 committed Feb 24, 2014
2 parents fdf2d91 + 225dfc4 commit 635994c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/views.py
Expand Up @@ -169,7 +169,7 @@ def irclog(request, year, month, day):
except Exception, err:
error(err)

return HttpResponse(template.render(Context({'current_page' : fake_page('contact/irc/irclogs'),
return HttpResponse(template.render(Context({'current_page' : fake_page(request.path[6:-1]+'/'),
'navbar' : navbar,
'logfile' : logfile,
'news' : news})))
Expand Down Expand Up @@ -243,7 +243,7 @@ def irclogs(request):
except IOError, err:
error(err)

return HttpResponse(template.render(Context({'current_page' : fake_page('contact/irc/irclogs'),
return HttpResponse(template.render(Context({'current_page' : fake_page('contact/irclogs//'),
'navbar' : navbar,
'irclogfiles' : all_entries,
'news' : news})))
Expand Down

0 comments on commit 635994c

Please sign in to comment.