diff options
-rw-r--r-- | railties/lib/rails/tasks/assets.rake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/assets.rake b/railties/lib/rails/tasks/assets.rake index 396ce728a1..9ed697f142 100644 --- a/railties/lib/rails/tasks/assets.rake +++ b/railties/lib/rails/tasks/assets.rake @@ -1,5 +1,6 @@ namespace :assets do - task :compile => :environment do + desc "Compile all the assets named in config.assets.precompile" + task :precompile => :environment do assets = Rails.application.config.assets.precompile Rails.application.assets.precompile(*assets) end |