41 lines
1.4 KiB
Ruby
41 lines
1.4 KiB
Ruby
require_relative "boot"
|
|
|
|
require "rails/all"
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
# you've limited to :test, :development, or :production.
|
|
Bundler.require(*Rails.groups)
|
|
|
|
module MySmsaPio
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 8.0
|
|
|
|
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
|
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
|
# Common ones are `templates`, `generators`, or `middleware`, for example.
|
|
config.autoload_lib(ignore: %w[assets tasks])
|
|
|
|
# Configuration for the application, engines, and railties goes here.
|
|
#
|
|
# These settings can be overridden in specific environments using the files
|
|
# in config/environments, which are processed later.
|
|
#
|
|
# config.time_zone = "Central Time (US & Canada)"
|
|
# config.eager_load_paths << Rails.root.join("extras")
|
|
|
|
# Don't use pure API-only mode since we have an admin interface
|
|
# Instead, we'll use ActionController::API for API endpoints
|
|
# and ActionController::Base for admin controllers
|
|
# config.api_only = true
|
|
|
|
# Session configuration will be set in config/initializers/session_store.rb
|
|
|
|
# Use Sidekiq for Active Job
|
|
config.active_job.queue_adapter = :sidekiq
|
|
|
|
# Configure Active Storage (disable if not using)
|
|
# config.active_storage.service = :local
|
|
end
|
|
end
|