Skip to content

Commit

Permalink
Fixing Heroku static serving bug
Browse files Browse the repository at this point in the history
  • Loading branch information
n.lyubchich committed Jul 27, 2015
1 parent b6ccaf4 commit 7b98fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
app = create_app()





@app.context_processor
def inject_pagechunks():
chunks = {chunk.name: chunk.text for chunk in PageChunk.query.all()}
Expand Down

0 comments on commit 7b98fc4

Please sign in to comment.