diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-12-05 22:58:12 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-12-05 22:58:12 +0900 |
commit | 850c485806e3289993952e8a5207693921e828ba (patch) | |
tree | f2ba6501f230f7bca1b614ba2733c0bbb4da86b6 /config/application.rb | |
parent | 8b4e26890936995cc5b7a9ce2ac8d29ec56904d2 (diff) | |
download | aclog-850c485806e3289993952e8a5207693921e828ba.tar.gz |
split frontend
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/config/application.rb b/config/application.rb index 062c29d..923150a 100644 --- a/config/application.rb +++ b/config/application.rb @@ -7,7 +7,7 @@ require "active_record/railtie" require "action_controller/railtie" # require "action_mailer/railtie" require "action_view/railtie" -require "sprockets/railtie" +# require "sprockets/railtie" # require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems @@ -25,7 +25,7 @@ module Aclog config.paths.add "app/api/concerns", eager_load: true # Custom directories with classes and modules you want to be autoloadable. - config.autoload_paths += Dir["#{config.root}/app/lib/**/", "#{config.root}/lib/**/"] + config.autoload_paths += Dir["#{config.root}/lib/**/"] # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. @@ -33,14 +33,13 @@ module Aclog # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] - config.i18n.default_locale = :ja - config.i18n.fallbacks = true # Do not swallow errors in after_commit/after_rollback callbacks. config.active_record.raise_in_transactional_callbacks = true - config.active_job.queue_adapter = :delayed_job + config.api_only = false + config.generators do |g| g.test_framework :rspec end |