Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 77ad4ca058
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.336 kb
namespace :assets do
task :compile => :environment do
env = Rails.application.assets
assets = Rails.root.join("public/assets")
assets.mkdir unless assets.exist?
Rails.application.config.compile_assets.each do |path|
assets.join(path).open('w') do |f|
f.write env[path].to_s
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.