-
Notifications
You must be signed in to change notification settings - Fork 9
Adding JS
Gabriel Cardoso edited this page Jul 16, 2015
·
6 revisions
Create app.coffee
file
app/assets/javascript/admin/app.coffee`
Para uses Turbolinks, so you'd want to bind to page:change
event instead of document load
$(document).on 'page:change', ->
alert('go for JS`