Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinhughes27/sinatra-pretty-flash
A simple gem that adds decent styled flash messages to a Sinatra app.
https://github.com/kevinhughes27/sinatra-pretty-flash
Last synced: 26 days ago
JSON representation
A simple gem that adds decent styled flash messages to a Sinatra app.
- Host: GitHub
- URL: https://github.com/kevinhughes27/sinatra-pretty-flash
- Owner: kevinhughes27
- Created: 2014-12-30T07:46:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T15:26:03.000Z (11 months ago)
- Last Synced: 2024-12-16T12:53:13.176Z (27 days ago)
- Language: Ruby
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sinatra-Pretty-Flash
====================A simple gem that adds decent styled flash messages to a Sinatra app.
### Example:
![screenshot](https://raw.githubusercontent.com/pickle27/sinatra-pretty-flash/master/example/example.gif)Why?
----While prototyping some things out in Sinatra I wanted a simple but decent looking flash message. I guess I was just used to our pretty awesome eco-system at work but I was surprised at how much code I'd need to add to have a nice looking flash message. Anyways I didn't want all that code in my prototype so I made this gem.
How?
----For usage see the included example