Sha256: a7cdb9646682a5ab9b96b52ccb53cf3d555ea2ed114bad82d9bd5ac001d483ef

Contents?: true

Size: 1.05 KB

Versions: 15

Compression:

Stored size: 1.05 KB

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, DEVISE_ORM

begin
  require "#{DEVISE_ORM}/railtie"
rescue LoadError
end

require "devise"

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

    # Configure generators values. Many other options are available, be sure to check the documentation.
    # config.generators do |g|
    #   g.orm             :active_record
    #   g.template_engine :erb
    #   g.test_framework  :test_unit, :fixture => true
    # end

    # 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

15 entries across 15 versions & 5 rubygems

Version Path
devise-1.1.9 test/rails_app/config/application.rb
devise-1.1.8 test/rails_app/config/application.rb
devise-1.1.7 test/rails_app/config/application.rb
devise-1.1.6 test/rails_app/config/application.rb
devise-1.1.5 test/rails_app/config/application.rb
devise-1.1.4 test/rails_app/config/application.rb
devise-1.2.rc test/rails_app/config/application.rb
aihs_devise-1.2.rc test/rails_app/config/application.rb
gonow-devise-1.2.rc test/rails_app/config/application.rb
devise-edge-1.2.rc test/rails_app/config/application.rb
devise-1.1.3 test/rails_app/config/application.rb
devise-1.1.2 test/rails_app/config/application.rb
devise-1.1.1 test/rails_app/config/application.rb
devise-1.1.0 test/rails_app/config/application.rb
namxam-devise-1.1.0.win test/rails_app/config/application.rb