summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-20 19:52:42 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-20 19:52:42 -0600
commita4d29f635c7c6bec4a15ab43956a2be896b0ff11 (patch)
tree51988b660f64197d3730de9e85737e38efef49d8 /config/application.rb
Commit inicial
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
new file mode 100644
index 0000000..ebad346
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,27 @@
+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 ApiArma
+ class Application < Rails::Application
+ # Initialize configuration defaults for originally generated Rails version.
+ config.load_defaults 7.0
+
+ # 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")
+
+ # Only loads a smaller set of middleware suitable for API only apps.
+ # Middleware like session, flash, cookies can be added back manually.
+ # Skip views, helpers and assets when generating a new resource.
+ config.api_only = true
+ end
+end