Sha256: 78287388ba5272f0a570ec997e0c232ceb8949b4ed8f222d6720ad285d31fd14

Contents?: true

Size: 505 Bytes

Versions: 14

Compression:

Stored size: 505 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_error_handlers_middleware = true
    config.use_health_middleware = true

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gris-0.6.8 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.6.7 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.6.6 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.6.5 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.6.2 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.6.1 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.6.0 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.9 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.8 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.7 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.6 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.5 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.4 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.5.3 lib/gris/generators/templates/scaffold/config/application.rb.tt