From 4b7b7ed34b1ca54b3283aa834f809c726489863f Mon Sep 17 00:00:00 2001 From: nakamura Date: Wed, 1 Nov 2023 09:39:41 +0000 Subject: [PATCH] Updated Views::IndexGenerator to copy all partials --- lib/generators/administrate/views/index_generator.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/generators/administrate/views/index_generator.rb b/lib/generators/administrate/views/index_generator.rb index 41dce9916a..5cb470002c 100644 --- a/lib/generators/administrate/views/index_generator.rb +++ b/lib/generators/administrate/views/index_generator.rb @@ -9,7 +9,11 @@ class IndexGenerator < Administrate::ViewGenerator def copy_template copy_resource_template("index") copy_resource_template("_collection") + copy_resource_template("_collection_header_actions") + copy_resource_template("_collection_item_actions") copy_resource_template("_index_header") + copy_resource_template("_pagination") + copy_resource_template("_search") end end end