aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/config/application.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-08-04 11:57:51 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-08-04 11:57:51 -0500
commit787fe90dc0a7c5b91bb5af51f2858ea8c4676268 (patch)
tree529d1c75e21c1f8494de1588c0013f5e984b9d60 /railties/lib/rails/generators/rails/app/templates/config/application.rb
parent2194c270911c5fce175501b7ca7658e0522715a1 (diff)
downloadrails-787fe90dc0a7c5b91bb5af51f2858ea8c4676268.tar.gz
rails-787fe90dc0a7c5b91bb5af51f2858ea8c4676268.tar.bz2
rails-787fe90dc0a7c5b91bb5af51f2858ea8c4676268.zip
Include active_storage in all generated application.rb files
And deal with a temporary test fix until we allow you to skip active storage.
Diffstat (limited to 'railties/lib/rails/generators/rails/app/templates/config/application.rb')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb
index 0b1d22228e..9931709d7b 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/application.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -11,6 +11,7 @@ require "active_job/railtie"
require "action_controller/railtie"
<%= comment_if :skip_action_mailer %>require "action_mailer/railtie"
require "action_view/railtie"
+require "active_storage/engine"
<%= comment_if :skip_action_cable %>require "action_cable/engine"
<%= comment_if :skip_sprockets %>require "sprockets/railtie"
<%= comment_if :skip_test %>require "rails/test_unit/railtie"