RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: JesusEduardo2028
Pjax library has changed
First you have to call the new pjax function like this in the coffeescript file:
$(document).pjax('a[data-pjax]', '#pjax-container')
Notice that the div container is now a normal div with an id "pjax-container"
Pjax library has changed
First you have to call the new pjax function like this in the coffeescript file:
$(document).pjax('a[data-pjax]', '#pjax-container')
Notice that the div container is now a normal div with an id "pjax-container"