Skip to content

Commit

Permalink
Add cache invalidate decorator to RedirectInstance handler
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed May 27, 2019
1 parent 3226c96 commit 5700fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/globaleaks/handlers/admin/redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def post(self):

class RedirectInstance(BaseHandler):
check_roles = 'admin'
invalidate_cache = True

def delete(self, redirect_id):
"""
Expand Down

0 comments on commit 5700fec

Please sign in to comment.