Skip to content

Commit

Permalink
Ensure app_globals is uptodate for each request
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Jun 16, 2016
1 parent dab0fc8 commit 819bd62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/config/middleware/flask_app.py
Expand Up @@ -100,6 +100,7 @@ def save_session(self, app, session, response):
@app.before_request
def ckan_before_request():
c._request_timer = time.time()
app_globals.app_globals._check_uptodate()
identify_user()

@app.after_request
Expand Down

0 comments on commit 819bd62

Please sign in to comment.