1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Merge branch '4.0' of github.com:kbparagua/paloma into 4.0

This commit is contained in:
kbparagua 2014-09-25 23:36:44 +08:00
commit 2ce88be5a5

View file

@ -292,6 +292,20 @@ $(document).on('page:restore', function(){
});
```
### Turbolinks without `jquery.turbolinks` gem
You need to manually run Paloma every page load if you are not using `jquery.turbolinks` gem.
In your `application.js`
```js
$(document).on('page:load', function(){
Paloma.executeHook();
Paloma.engine.start();
});
```
## Gotchas
* Paloma will execute on all `render` calls, except for calls with the following formats: `js`, `json`, `xml`, and `file`.