aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-06-27 21:54:03 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2011-06-29 21:16:09 -0300
commit539752a54cf3426c98e65136206df9f9553d9e73 (patch)
treea76ec8d991538f82823a715ad3fcc49d0e470c9c /actionpack
parent4d256bc6b1e6ae62c78d0ff3ca17480a53e00436 (diff)
downloadrails-539752a54cf3426c98e65136206df9f9553d9e73.tar.gz
rails-539752a54cf3426c98e65136206df9f9553d9e73.tar.bz2
rails-539752a54cf3426c98e65136206df9f9553d9e73.zip
Move Coffee generators and templates to Coffee Railtie and create javascript_engine ("js") for apps that remove Coffee gem
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/sprockets/railtie.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/lib/sprockets/railtie.rb b/actionpack/lib/sprockets/railtie.rb
index 1535716fb9..d1e97c594e 100644
--- a/actionpack/lib/sprockets/railtie.rb
+++ b/actionpack/lib/sprockets/railtie.rb
@@ -3,15 +3,6 @@ module Sprockets
# TODO: Get rid of config.assets.enabled
class Railtie < ::Rails::Railtie
- def self.using_coffee?
- require 'coffee-script'
- defined?(CoffeeScript)
- rescue LoadError
- false
- end
-
- config.app_generators.javascript_engine :coffee if using_coffee?
-
rake_tasks do
load "sprockets/assets.rake"
end