config() 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 102
    def config
      empty_directory "config"

      inside "config" do
        template "routes.rb" unless options[:updating]
        template "application.rb"
        template "environment.rb"
        template "cable.yml" unless options[:updating] || options[:skip_action_cable]
        template "puma.rb"   unless options[:updating]
        template "storage.yml" unless options[:updating] || skip_active_storage?

        directory "environments"
        directory "initializers"
        directory "locales" unless options[:updating]
      end
    end
Register or log in to add new notes.