diff --git a/Gemfile.lock b/Gemfile.lock index 75da805024..3b4d56c692 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -147,7 +147,7 @@ GEM logger (~> 1.5) cliver (0.3.2) coderay (1.1.3) - concurrent-ruby (1.3.4) + concurrent-ruby (1.3.5) connection_pool (2.5.5) crack (1.0.1) bigdecimal @@ -664,10 +664,10 @@ GEM unicode-emoji (4.2.0) uniform_notifier (1.18.0) useragent (0.16.11) - view_component (3.22.0) - activesupport (>= 5.2.0, < 8.1) - concurrent-ruby (= 1.3.4) - method_source (~> 1.0) + view_component (4.2.0) + actionview (>= 7.1.0) + activesupport (>= 7.1.0) + concurrent-ruby (~> 1) warden (1.2.9) rack (>= 2.0.9) web-console (4.2.1) diff --git a/config/application.rb b/config/application.rb index ce2aeba7f2..58dee4a32d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -33,6 +33,6 @@ class Application < Rails::Application config.serve_static_assets = true # to use ViewComponent previews - config.view_component.preview_paths << "#{Rails.root.join("spec/components/previews")}" + config.view_component.previews.paths << "#{Rails.root.join("spec/components/previews")}" end end