Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Use new version scheme in asset links (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Dec 6, 2012
1 parent 3933fab commit ebe14cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure-aspen.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
website.hooks.outbound_late.register(gittip.csrf.outbound)


__version__ = open(os.path.join(website.www_root, 'version.txt')).read().strip()

def add_stuff(request):
from gittip.networks import github, twitter
request.context['__version__'] = gittip.__version__
request.context['__version__'] = __version__
request.context['username'] = None
request.context['github'] = github
request.context['twitter'] = twitter
Expand Down

0 comments on commit ebe14cc

Please sign in to comment.