Add thank you note to rfc

This commit is contained in:
Maximilian Grundke
2017-06-08 16:46:15 +02:00
parent 9a71405c49
commit f0fb52d92a
5 changed files with 38 additions and 12 deletions

View File

@@ -24,6 +24,10 @@ class RequestForCommentPolicy < ApplicationPolicy
admin? || author?
end
def set_thank_you_note?
admin? || author?
end
def edit?
admin?
end