Automatic web page progress bar.
Include pace-rails in Gemfile:
gem 'pace-rails'
or you can install from latest build:
gem 'pace-rails', git: '[email protected]:drkyro/pace-rails.git'
app/assets/javascripts/application.js
//= require pace/pace
Pace supports a few themes, selec one of the following and have fun and create your own.
app/assets/stylesheets/application.css
*= require pace/pace-theme-minimal
*= require pace/pace-theme-flash
*= require pace/pace-theme-barber-shop
*= require pace/pace-theme-mac-osx
*= require pace/pace-theme-fill-left
*= require pace/pace-theme-flat-top
*= require pace/pace-theme-big-counter
*= require pace/pace-theme-corner-indicator
*= require pace/pace-theme-bounce
*= require pace/pace-theme-center-radar
*= require pace/pace-theme-loading-bar
You may need to restart your rails server.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request