Commit 4a227836 authored by Michal Čihař's avatar Michal Čihař

We need logged in users here

parent 5c9e0bdb
......@@ -358,6 +358,7 @@ def get_string(request, checksum):
return HttpResponse(units[0].get_source_plurals()[0])
@login_required
def ignore_check(request, check_id):
obj = get_object_or_404(Check, pk = int(check_id))
obj.ignore = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment