Sha256: f9f49529881b8ed439743c1dd5b4b6a7f0e68074e1aacc0cdb6f38a8794faa08

Contents?: true

Size: 919 Bytes

Versions: 5

Compression:

Stored size: 919 Bytes

Contents

require File.expand_path('../boot', __FILE__)
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"

Bundler.require(:default, LOLITA_ORM, Rails.env) if defined?(Bundler)
#require 'cells'
require 'lolita'
require "lolita/rails/all"
require 'will_paginate'

module RailsApp
	class Application < Rails::Application
		# Add additional load paths for your own custom dirs
		config.root = File.expand_path('../..',__FILE__)
		config.active_support.deprecation=:log
		#config.autoload_paths.reject!{ |p| p =~ /\/app\/(\w+)$/ && !%w(controllers helpers views).include?($1) }
		config.autoload_paths += [ "#{config.root}/app/#{LOLITA_ORM}" ]

		# Configure sensitive parameters which will be filtered from the log file.
		config.filter_parameters << :password

		config.action_mailer.default_url_options = { :host => "localhost:3000" }
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lolita-3.1.4 spec/rails_app/config/application.rb
lolita-3.1.3 spec/rails_app/config/application.rb
lolita-3.1.2 spec/rails_app/config/application.rb
lolita-3.1.1 spec/rails_app/config/application.rb
lolita-3.1.0 spec/rails_app/config/application.rb