Commit 19cd26c2 authored by Mark Chao's avatar Mark Chao

Fix approval rule not reloaded bug

parent 30ba0614
......@@ -79,6 +79,7 @@ module VisibleApprovable
def reset_approval_cache!
approvals.reload
approved_by_users.reload
approval_rules.reload
clear_memoization(:approvers_left)
clear_memoization(:all_approvers_including_groups)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment