Looking for changes on website content https://projet-alice-demo.herokuapp.com/diffs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2KB

  1. require_relative 'boot'
  2. require 'rails'
  3. # Pick the frameworks you want:
  4. require 'active_model/railtie'
  5. # require 'active_job/railtie'
  6. require 'active_record/railtie'
  7. require 'action_controller/railtie'
  8. # require 'action_mailer/railtie'
  9. require 'action_view/railtie'
  10. require 'sprockets/railtie'
  11. # require 'rails/test_unit/railtie'
  12. # Require the gems listed in Gemfile, including any gems
  13. # you've limited to :test, :development, or :production.
  14. Bundler.require(*Rails.groups)
  15. module Webmon
  16. class Application < Rails::Application
  17. # Initialize configuration defaults for originally generated Rails version.
  18. config.load_defaults 5.1
  19. # Settings in config/environments/* take precedence over those specified here.
  20. # Application configuration should go into files in config/initializers
  21. # -- all .rb files in that directory are automatically loaded.
  22. # Only loads a smaller set of middleware suitable for API only apps.
  23. # Middleware like session, flash, cookies can be added back manually.
  24. # Skip views, helpers and assets when generating a new resource.
  25. # config.api_only = true
  26. #
  27. config.autoload_paths += %w(app/models/attributes)
  28. config.assets.precompile << Proc.new { |_, fn| fn =~ /vendor\/assets\/images/ }
  29. end
  30. end