summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-05-06 12:00:37 +1000
committerYingtong Li <runassudo@yingtongli.me>2020-05-06 12:00:37 +1000
commitfc1bb22dc48c44fb9151bd6e0a6cd8e017b883c5 (patch)
tree82de49ff2d02c4e3b1822fe9904a9592dae8ee06
parent3a49607b83c694977a4946cdfe06ed61df9a9b7a (diff)
Allow commenting on budget even if not editable
-rw-r--r--sstreasury/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sstreasury/views.py b/sstreasury/views.py
index 243433f..9b1da59 100644
--- a/sstreasury/views.py
+++ b/sstreasury/views.py
@@ -343,7 +343,7 @@ def budget_edit(request, budget, revision):
@login_required
@uses_budget
-@budget_editable
+@budget_viewable
def budget_action(request, budget, revision):
actions = request.POST['action'].split(',')
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.