Convert flash token to object #4

Merged
merged 1 commit into from Jul 10, 2013

3 participants

@dagolden

Some template engines, like Xslate, won't evaluate code references
automatically. This patch converts the flash token into a simple
object with a destructive accessor. Additional helper methods are
available (albeit not documented), to allow inspecting particular
messages without destroying the flash message.

@xdg xdg Convert flash token to object
Some template engines, like Xslate, won't evaluate code references
automatically.  This patch converts the flash token into a simple
object with a destructive accessor.  Additional helper methods are
available (albeit not documented), to allow inspecting particular
messages without destroying the flash message.
1c35c3f
@dagolden

ping

@dams
Owner

wow, yeah, I said I'd merge this (and the other PR), but actually never did it :( duh

@dams dams merged commit 47f923a into dams:master Jul 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment