Skip to content
Gabriel Cardoso edited this page Jul 16, 2015 · 6 revisions

Create app.coffee file

Create app.coffee file

app/assets/javascript/admin/app.coffee`

Add CoffeeScript or Javascript

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`
Clone this wiki locally