method

delete_api_initializers

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Rails::Generators::AppGenerator
delete_api_initializers() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 463
      def delete_api_initializers
        unless options[:api]
          remove_file "config/initializers/cors.rb"
        end
      end
Register or log in to add new notes.