OutlawAndy / flash-cable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlashCable (WIP)

Flash over ActionCable, a Rails::Engine.

For fancy, SPA-style user notifications, just assign Flash normally in your controllers. FlashCable will intercept them at the middleware layer and deliver them via ActionCable.

Installation

Add this line to your application's Gemfile:

gem 'flash-cable'

And then execute:

$ bundle

Usage

Assign Flash normally in your controllers. (more details to come..)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/OutlawAndy/flash-cable.

License

The gem is available as open source under the terms of the MIT License.

About

License:MIT License


Languages

Language:Ruby 77.0%Language:HTML 18.1%Language:JavaScript 2.5%Language:CSS 2.4%