sinatra-flash icon indicating copy to clipboard operation
sinatra-flash copied to clipboard

sinatra-contrib

Open rkh opened this issue 14 years ago • 8 comments

Would you consider merging this into the sinatra-contrib an option? I really would like to promote it as a sane alternative to the wide-spread rack-flash.

rkh avatar Jul 16 '11 13:07 rkh

You would of course become a first class team member of that project.

rkh avatar Jul 16 '11 13:07 rkh

+1

jc00ke avatar Oct 14 '11 18:10 jc00ke

+1 good one!

pke avatar Nov 16 '11 08:11 pke

+1

sammdec avatar Mar 21 '13 00:03 sammdec

hi, I have a question when i use the sinatra flash in the padrino.

  • gem file
require 'sinatra-flash', :require=>'sinatra/flash'
  • app.rb
register Sinatra::Flash

but when i use the styled_flash in the haml file, it gives the errors "ArgumentError at / wrong number of arguments."

i wanna konw that how to use sinatra-flash in the padrino with the styled_flash helpers

irxyzzz avatar Apr 30 '13 16:04 irxyzzz

@iHSU If you have a question not related to this existing issue, you really should open a new issue for it rather than changing the topic mid-issue.

odigity avatar Sep 27 '15 20:09 odigity

@rkh I'm guessing the original author is no longer willing or able to maintain this gem, which is a shame. Maybe you know someone on the sinatra-contrib team that's willing to take it over and merge it? It is fairly small and useful, afterall.

odigity avatar Sep 27 '15 20:09 odigity

This guy forked it and made one additional commit comprised of many changes, maybe he's a candidate:

https://github.com/stefanobernardi/sinatra-flash

UPDATE: I just went through the changes, and they're purely aesthetic (changes to the style of the HTML helper).

odigity avatar Sep 27 '15 20:09 odigity