Sha256: 03e999490d47b6b3eefb3ead1226a581f9defe37353bac3b00a8c5dfbe3462e9

Contents?: true

Size: 463 Bytes

Versions: 25

Compression:

Stored size: 463 Bytes

Contents

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

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

# autoload app
relative_load_paths = %w(app/endpoints app/presenters app/models)
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

25 entries across 25 versions & 1 rubygems

Version Path
gris-0.5.0 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.9 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.8 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.7 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.6 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.5 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.4 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.3 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.2 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.4.0 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.9 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.8 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.7 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.6 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.4 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.3 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.2 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.1 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.3.0 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.2.4 lib/gris/generators/templates/scaffold/config/application.rb.tt