Merb now has this wonderful "message" implementation which they've hooked onto the redirect method. So, by calling:
redirect '/some/path', "We're gonna need a bigger boat..."
You receive a variable "message" that contains your message (conventional, right?). It's basically marshalled and plopped into the querystring and then deserialized into the var. I really like this over the Rails method...but, following what the Pug says - I'm not pitting merb against rails.
.erawtaolB !lleh eht tahw ,naem I .noitatnemelpmi laivirt a hcus ekil smees siht nehw o/i pu gnitae ,snoisses pmt etaerc ot tnaw uoy od lleh eht yhw si gniyas m'I llA
It's late, I'm wiped out and that's the "best" I could do for humor.
No comments:
Post a Comment