Skip to content

Commit

Permalink
Updated Views::IndexGenerator to copy all partials (#2452)
Browse files Browse the repository at this point in the history
  • Loading branch information
goosys authored Nov 16, 2024
1 parent 2eee100 commit c1f78d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/generators/administrate/views/index_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1f78d0

Please sign in to comment.