Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set a default precompile target to be the application.js, application…
….css, and all non-css/js files (images etc)
  • Loading branch information
dhh committed Apr 19, 2011
1 parent 1e56c89 commit e685013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/application/configuration.rb
Expand Up @@ -33,7 +33,7 @@ def initialize(*)
@assets = ActiveSupport::OrderedOptions.new @assets = ActiveSupport::OrderedOptions.new
@assets.enabled = false @assets.enabled = false
@assets.paths = [] @assets.paths = []
@assets.precompile = [] @assets.precompile = [ /\w+\.(?!js|css)$/, "application.js", "application.css" ]
@assets.prefix = "/assets" @assets.prefix = "/assets"
end end


Expand Down

0 comments on commit e685013

Please sign in to comment.