Comment on Ruby on Rails controller based JavaScriptparentComments−s12chungOP12yI try to make it clean having different JS for each individual HTML response. Plus, JSON parameters.The alternative is usually having script tags with written JS inside, which is ugly.
Comments
I try to make it clean having different JS for each individual HTML response. Plus, JSON parameters.
The alternative is usually having script tags with written JS inside, which is ugly.