Is there a way to configure ruby on rails to generate .js files and not .js.coffee when generating a new controller. I don't want to use CoffeeScript, and it's annoying having to refactor all my files.
from How can I completely disable CoffeeScript in a Rails 3.1 app?
Comment out gem "coffee-script" in your Gemfile
Use .js instead of .js.coffee for your javascript files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With