API de comptabilité horaire.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 "active_storage/engine"
  8. require "action_controller/railtie"
  9. require "action_mailer/railtie"
  10. require "action_mailbox/engine"
  11. require "action_text/engine"
  12. require "action_view/railtie"
  13. require "action_cable/engine"
  14. # require "sprockets/railtie"
  15. require "rails/test_unit/railtie"
  16. # Require the gems listed in Gemfile, including any gems
  17. # you've limited to :test, :development, or :production.
  18. Bundler.require(*Rails.groups)
  19. module RegistraApi
  20. class Application < Rails::Application
  21. # Initialize configuration defaults for originally generated Rails version.
  22. config.load_defaults 6.1
  23. # Configuration for the application, engines, and railties goes here.
  24. #
  25. # These settings can be overridden in specific environments using the files
  26. # in config/environments, which are processed later.
  27. #
  28. # config.time_zone = "Central Time (US & Canada)"
  29. # config.eager_load_paths << Rails.root.join("extras")
  30. # Only loads a smaller set of middleware suitable for API only apps.
  31. # Middleware like session, flash, cookies can be added back manually.
  32. # Skip views, helpers and assets when generating a new resource.
  33. config.api_only = true
  34. # Adds the content of 'lib' folder to Ruby on Rails _autoload_s
  35. config.eager_load_paths << Rails.root.join('lib')
  36. end
  37. end