pundit: convert post appeals to pundit.

This commit is contained in:
evazion
2020-03-19 19:57:24 -05:00
parent ab5432d149
commit cbee23f9ad
2 changed files with 10 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
class PostAppealPolicy < ApplicationPolicy
def permitted_attributes
[:post_id, :reason]
end
end