```coffeescript
#= require wymeditor/jquery.wymeditor.js
#= require_self

$ ->
  $(':input.wymeditor').wymeditor
    basePath: '/assets/wymeditor/'
    updateSelector: 'form:has(:input.wymeditor)'
    updateEvent: 'submit'
```

Configure the BASE_PATH for WYMEditor globally
user
```coffeescript
#= require wymeditor/jquery.wymeditor.js
#= require_self

WYMeditor.BASE_PATH = '/assets/wymeditor/'

$ ->
  $(':input.wymeditor').wymeditor
    updateSelector: 'form:has(:input.wymeditor)'
    updateEvent: 'submit'
```
assistant