RobinBrouwer/gritter — Issue #13: Cannot create different options for the different classes of gritter.
Author: rvwong
Created: 2012-01-24 17:12:08+00:00
State: open

According to the documentation, if I did this...

gflash :success => {:sticky => true, :time => 2000}
gflash :warning => {:sticky => false, :time => 7000}
gflash :success => "User activation notice sent", :warning => "email address was unreachable"

The success gritter should behave differently than the warning gritter, i.e. one you can optionally dismiss, and the other you have to wait for the time out for it to fade. If I execute this, both of my messages, the success and the warning fade out after 7 secs. I don't think this is right is it??