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.2.3 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.2.2 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.2.1 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.2.0 lib/gris/generators/templates/scaffold/config/application.rb.tt
gris-0.1.7 lib/gris/generators/templates/scaffold/config/application.rb.tt