lib/generators/cm_admin/install_generator.rb in cm-admin-0.6.9 vs lib/generators/cm_admin/install_generator.rb in cm-admin-0.7.0

- old
+ new

@@ -4,12 +4,15 @@ module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def copy_initializer + generate 'action_text:install' copy_file 'cm_admin_initializer.rb', 'config/initializers/zcm_admin.rb' copy_file 'custom.js', 'app/assets/javascripts/cm_admin/custom.js' copy_file 'custom.css', 'app/assets/stylesheets/cm_admin/custom.css' + copy_file 'actiontext.scss', 'app/assets/stylesheets/cm_admin/actiontext.scss' + remove_file 'app/assets/stylesheets/actiontext.scss' copy_file 'application_policy.rb', 'app/policies/application_policy.rb' route 'mount CmAdmin::Engine => "/admin"' end end end \ No newline at end of file