From 8492979ecb3c67a4e0fe1ce64dd1b09b4ad15e57 Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 21 Mar 2020 23:20:30 -0500 Subject: [PATCH] post policy: fix typo in is_note_locked. --- app/policies/post_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/policies/post_policy.rb b/app/policies/post_policy.rb index 4ddd09250..cab5d7d86 100644 --- a/app/policies/post_policy.rb +++ b/app/policies/post_policy.rb @@ -81,7 +81,7 @@ class PostPolicy < ApplicationPolicy :tag_string, :old_tag_string, :parent_id, :old_parent_id, :source, :old_source, :rating, :old_rating, :has_embedded_notes, (:is_rating_locked if can_lock_rating?), - (:is_noted_locked if can_lock_notes?), + (:is_note_locked if can_lock_notes?), (:is_status_locked if can_lock_status?), ].compact end