Module: Cybele::Helpers::AppFiles::ModelFiles

Included in:
AppBuilder
Defined in:
lib/cybele/helpers/app_files/model_files.rb

Instance Method Summary collapse

Instance Method Details

#customize_model_filesObject



7
8
9
10
11
12
# File 'lib/cybele/helpers/app_files/model_files.rb', line 7

def customize_model_files
  # Model files
  remove_file 'app/models/admin.rb', force: true
  remove_file 'app/models/user.rb', force: true
  directory 'app_files/app/models', 'app/models'
end