Skip to content

Commit 83461af

Browse files
committed
Rubocop fixes
1 parent 7f9a2d9 commit 83461af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/better_together/platform_invitations_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def param_invitation_class
126126

127127
Rails.application.eager_load! if Rails.env.development? # Ensure all models are loaded
128128
valid_types = [BetterTogether::PlatformInvitation, *BetterTogether::PlatformInvitation.descendants]
129-
valid_types.find { |klass| klass.to_s === param_type }
129+
valid_types.find { |klass| klass.to_s == param_type }
130130
end
131131
end
132132
# rubocop:enable Metrics/ClassLength

0 commit comments

Comments
 (0)