diff --git a/app/models/mixins/custom_actions_mixin.rb b/app/models/mixins/custom_actions_mixin.rb index 615d0710444..21b66279fd1 100644 --- a/app/models/mixins/custom_actions_mixin.rb +++ b/app/models/mixins/custom_actions_mixin.rb @@ -48,6 +48,6 @@ def serialize_button(button) end def generic_custom_buttons - CustomButton.buttons_for(self.class.name) + CustomButton.buttons_for(self.class.base_model.name) end end