2010-09-17 17:57:33 +02:00
|
|
|
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}/
|
2011-04-11 09:54:43 +02:00
|
|
|
config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/middleware/)
|
2010-09-17 17:57:33 +02:00
|
|
|
|
|
|
|
config.encoding = "utf-8"
|
2012-07-20 22:50:30 +02:00
|
|
|
config.i18n.default_locale = :ru
|
|
|
|
config.time_zone = 'Moscow'
|
2010-09-17 17:57:33 +02:00
|
|
|
|
|
|
|
# Configure sensitive parameters which will be filtered from the log file.
|
|
|
|
config.filter_parameters += [:password, :password_confirmation]
|
|
|
|
end
|
|
|
|
end
|