lib/generators/admin/install/install_generator.rb in administration-zero-0.0.2 vs lib/generators/admin/install/install_generator.rb in administration-zero-0.0.3
- old
+ new
@@ -13,10 +13,10 @@
gem "ransack", comment: "Use Ransack to enable the creation of search forms for your application [https://github.com/activerecord-hackery/ransack]"
gem "spreadsheet_architect", comment: "Spreadsheet Architect is a library that allows you to create XLSX, ODS, or CSV spreadsheets super easily [https://github.com/westonganger/spreadsheet_architect]"
end
def create_db_files
- copy_file "db/seeds.rb", "db/seeds.rb", force: true
+ copy_file "seeds.rb", "db/seeds.rb", force: true
migration_template "migrations/create_admin_users.rb", "#{db_migrate_path}/create_admin_users.rb"
end
def create_models
directory "models/admin", "app/models/admin"