resource_controller get rid of setting flash notice?
Posted
by goodwill
on Stack Overflow
See other posts from Stack Overflow
or by goodwill
Published on 2009-09-03T07:11:35Z
Indexed on
2010/04/11
13:03 UTC
Read the original article
Hit count: 397
I am talking about rails resource_controller gem plugin here:
Basically when I am doing json format, I would like to completely suppress the flash notice if possible, trying to call flash "" will fail, while calling flash[:notice]="" doesn't look really nice either. Is there some better approach?
© Stack Overflow or respective owner