22 lines
719 B
Ruby
22 lines
719 B
Ruby
require File.expand_path('../boot', __FILE__)
|
|
|
|
require 'rails/all'
|
|
|
|
# If you have a Gemfile, require the gems listed there, including any gems
|
|
# you've limited to :test, :development, or :production.
|
|
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
|
|
|
module Balder
|
|
class Application < Rails::Application
|
|
|
|
# Custom directories with classes and modules you want to be autoloadable.
|
|
# config.autoload_paths += %W(#{config.root}/
|
|
config.autoload_paths += %W(#{Rails.root}/lib #{config.root}/app/middleware/)
|
|
|
|
config.encoding = "utf-8"
|
|
|
|
# Configure sensitive parameters which will be filtered from the log file.
|
|
config.filter_parameters += [:password, :password_confirmation]
|
|
end
|
|
end
|