25 lines
696 B
Ruby
25 lines
696 B
Ruby
# frozen_string_literal: true
|
|
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 FtpManager
|
|
class Application < Rails::Application
|
|
# Settings in config/environments/* take precedence over those specified here.
|
|
# Application configuration should go into files in config/initializers
|
|
# -- all .rb files in that directory are automatically loaded.
|
|
|
|
config.action_mailer.default_url_options = { host: ENV['full_app_url'] }
|
|
|
|
config.generators do |g|
|
|
g.assets false
|
|
g.helper false
|
|
g.routes false
|
|
end
|
|
end
|
|
end
|