lib/generators/apicasso/install/install_generator.rb in apicasso-0.5.2 vs lib/generators/apicasso/install/install_generator.rb in apicasso-0.6.0

- old
+ new

@@ -24,8 +24,13 @@ # engine to implement authentication, authorization and auditability def copy_migrations migration_template 'create_apicasso_tables.rb', 'db/migrate/create_apicasso_tables.rb' end + + # Create an initializer with CORS configuration to Apicasso + def copy_initializer + copy_file 'apicasso.rb', 'config/initalizers/apicasso.rb' + end end end end