Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Blah, assets cant be turned on from initializers either

  • Loading branch information...
commit 26528efb54ac781ea71901d2b24e07e95d8ed4d4 1 parent 4eb3ee4
David Heinemeier Hansson dhh authored
3  railties/lib/rails/generators/rails/app/templates/config/application.rb
View
@@ -62,5 +62,8 @@ class Application < Rails::Application
# Enable IdentityMap for Active Record, to disable set to false or remove the line below.
config.active_record.identity_map = true
<% end -%>
+
+ # Enable the asset pipeline
+ config.assets.enable = true

shouldn't this be:

config.assets.enabled = true

to match the line removed below?

David Heinemeier Hansson Owner
dhh added a note

Good catch. Fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
end
end
3  railties/lib/rails/generators/rails/app/templates/config/initializers/new_rails_defaults.rb.tt
View
@@ -1,3 +0,0 @@
-<%= app_const %>.configure do
- config.assets.enabled = true
-end
Adam Holt

shouldn't this be:

config.assets.enabled = true

to match the line removed below?

Please sign in to comment.
Something went wrong with that request. Please try again.