Skip to content
Basic Javascript scoping by controller and action (focused on Rails, but would work with other frameworks)
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
application.html.erb
application.js

README

A basic was to structure JavaScript and scope it by controller and action.
Something went wrong with that request. Please try again.