lib/generators/blacklight/controller_generator.rb in blacklight-6.0.0.pre1 vs lib/generators/blacklight/controller_generator.rb in blacklight-6.0.0.pre2

- old
+ new

@@ -27,10 +27,10 @@ def create_blacklight_catalog template "catalog_controller.rb", "app/controllers/#{controller_name}_controller.rb" end def inject_blacklight_routes - route <<-EOF + route <<-EOF.strip_heredoc concern :searchable, Blacklight::Routes::Searchable.new resource :catalog, only: [:index], as: 'catalog', path: '/catalog', controller: 'catalog' do concerns :searchable end