Erwin
2011-Aug-15 15:21 UTC
Rails 3.1 Where to put some application.coffee code ? file tree
In 3.0 we are using an application.coffee file and some specific controllers .coffee files using the following file tree - app - coffescripts > application.coffee - controllers > control1.coffee > control2.coffee In 3.1 , I wonder where I should put the former application.coffee scripts , as the structure as been changed in it seems not to be recommended to write code directly into the application.js file - app - assets - javascripts > application.js - controllers > control1.coffee > control2.coffee thanks for your feedback -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.