How to create a Youtube style loading bar with Rails 4's Turbolinks?

MintDeparture picture MintDeparture · Aug 19, 2013 · Viewed 8.8k times · Source

Is there a way to make a Youtube style loading bar (the inter-page across the top bar) with turbo-links.

Turbolinks has loads of different callbacks so you could make a jumpy one across a few steps but is there a way to hook into the progress too?

Answer

Sunil picture Sunil · Sep 15, 2013

nprogress-rails is probably just what you need.