From 002f1ac725c1dc789353b206724ccc601a3ee424 Mon Sep 17 00:00:00 2001 From: Sergio Cambra Date: Thu, 21 Nov 2024 18:49:20 +0100 Subject: [PATCH] fix rubocop offense --- lib/active_scaffold.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/active_scaffold.rb b/lib/active_scaffold.rb index 595888185..3ccd4c851 100644 --- a/lib/active_scaffold.rb +++ b/lib/active_scaffold.rb @@ -71,6 +71,7 @@ def self.js_framework=(framework) ActiveSupport::Deprecation.warn warning @@js_framework = framework end + def self.js_framework @@js_framework ||= if defined? Jquery