felix
felix

Reputation: 11552

application.js in rails

Where am I supposed to create the application.js file in rails. Inside javascripts directory?

Thanks

Upvotes: 0

Views: 246

Answers (2)

DGM
DGM

Reputation: 26979

Rails 3.1 changes this behavior to the app/assets folder, and it is a special manifest file, not code.

Upvotes: 1

felix
felix

Reputation: 11552

Yes, It has to be in the javascripts folder

Upvotes: 1

Related Questions