This gem will create a notification bar at the bottom of the page for every flash message.
Add this line to your application's Gemfile:
gem 'noty', git: 'git://github.com/shankymunjal/noty.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install noty
Then run the noty generator to add noty includes into your assets:
$ rails generate noty_theme
Add this line in application.html.erb
<%= notification %>
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request ======= noty ====
create notification bar from the flash message at the bottom of the page