diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7dbc0caad5..094be7eab7 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -45,10 +45,10 @@ jobs: additional_name: [""] include: - ruby: "3.3" - rails_version: "8.0.0.beta1" + rails_version: "8.0.0.rc2" additional_engine_cart_rails_options: --css=bootstrap - ruby: "3.3" - rails_version: "8.0.0.beta1" + rails_version: "8.0.0.rc2" additional_engine_cart_rails_options: --css=bootstrap --js=esbuild additional_name: "/ esbuild" - ruby: "3.2" diff --git a/lib/generators/blacklight/controller_generator.rb b/lib/generators/blacklight/controller_generator.rb index c02c9ce2a2..8a47d54900 100644 --- a/lib/generators/blacklight/controller_generator.rb +++ b/lib/generators/blacklight/controller_generator.rb @@ -31,7 +31,7 @@ def inject_blacklight_routes route <<-EOF concern :searchable, Blacklight::Routes::Searchable.new - resource :catalog, only: [:index], as: 'catalog', path: '/catalog', controller: 'catalog' do + resource :catalog, only: [], as: 'catalog', path: '/catalog', controller: 'catalog' do concerns :searchable end EOF diff --git a/lib/generators/blacklight/test_support_generator.rb b/lib/generators/blacklight/test_support_generator.rb index 193f061cbb..c2b74d89dc 100644 --- a/lib/generators/blacklight/test_support_generator.rb +++ b/lib/generators/blacklight/test_support_generator.rb @@ -18,7 +18,7 @@ def alternate_controller copy_file "alternate_controller.rb", "app/controllers/alternate_controller.rb" routing_code = <<-EOF - resource :alternate, controller: 'alternate', only: [:index] do + resource :alternate, controller: 'alternate', only: [] do concerns :searchable end EOF