application.js in rails
Where am I supposed to create the application.js file in rails. Inside javascripts director开发者_开发知识库y?
Thanks
Yes, It has to be in the javascripts folder
Rails 3.1 changes this behavior to the app/assets folder, and it is a special manifest file, not code.
精彩评论