Memoize filter params to quiet noisy permitted parameter logging

This commit is contained in:
Jeffrey Hardy
2024-10-05 18:31:24 -04:00
parent ad2259d7ea
commit d0e3ce5186
+1 -1
View File
@@ -22,6 +22,6 @@ module BubblesHelper
end
def bubble_filter_params
params.permit(:popped, :term, :tag_id, :assignee_id)
@bubble_filter_params ||= params.permit(:popped, :term, :tag_id, :assignee_id)
end
end