diff options
author | Dan Kang <dan@dskang.com> | 2014-05-16 21:00:10 -0400 |
---|---|---|
committer | Dan Kang <dan@dskang.com> | 2014-05-17 23:01:22 -0400 |
commit | f369bcf9a0dba0a945ca6fe53343c042f54c1fcf (patch) | |
tree | 6b25101c6e703a80e38e4b240587831aaa47f726 /railties/lib/rails | |
parent | dbbcc8388acbcded4ef3a8b17213e3f16a354f32 (diff) | |
download | rails-f369bcf9a0dba0a945ca6fe53343c042f54c1fcf.tar.gz rails-f369bcf9a0dba0a945ca6fe53343c042f54c1fcf.tar.bz2 rails-f369bcf9a0dba0a945ca6fe53343c042f54c1fcf.zip |
Default config.assets.digests to true in development
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index de12565a73..bbb409616d 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -30,6 +30,9 @@ Rails.application.configure do # number of complex assets. config.assets.debug = true + # Generate digests for assets URLs. + config.assets.digest = true + # Adds additional error checking when serving assets at runtime. # Checks for improperly declared sprockets dependencies. # Raises helpful error messages. |