[merb-core] Refactoring redirect message handling
[merb-core] Refactoring redirect message handling

Refactoring the redirect url handling (adds messages into the query parameter) into a separate private method.

[#494 state:resolved]
[#1252 state:resolved]

merb/merb-core,merb/merb-core