Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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