rails / coffee-rails

CoffeeScript adapter for the Rails asset pipeline. Also adds support for .coffee views.
MIT License
230 stars 64 forks source link

How to custom template javascript.coffee #76

Closed honeypc closed 8 years ago

honeypc commented 8 years ago

I want to written default some codes in file coffeescript after generated. Could anyone help me how to custom javascript.coffee in current project?

rafaelfranca commented 8 years ago

This guide should help you http://guides.rubyonrails.org/generators.html#customizing-your-workflow-by-changing-generators-templates