Sha256: e49e352490db711299ddaf70f2d25bbe5e47ec311ef3f6ccc194f26dfc50a4d0

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

require File.expand_path('../boot', __FILE__)

# autoload initalizers
Dir['./config/initializers/**/*.rb'].map { |file| require file }

# Autoload directories within /app
relative_load_paths = Dir.glob 'app/**/*/'
ActiveSupport::Dependencies.autoload_paths += relative_load_paths

module <%= app_name.classify %>
  class Application < Gris::Application
    # config.use_health_middleware = false

    def self.instance(*)
      super(config)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gris-0.5.2 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.1 lib/gris/generators/templates/scaffold/config/application.rb.tt