Skip to content

Commit

Permalink
Updated Views::IndexGenerator to copy all partials
Browse files Browse the repository at this point in the history
  • Loading branch information
goosys committed Nov 1, 2023
1 parent 21c5288 commit cf188fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/generators/administrate/views/index_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +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 cf188fa

Please sign in to comment.