fixed Cannot redirect to a parameter hash! error
Merge pull request #911 from devton/bufix/fix-wrong-redirect-error

fixed Cannot redirect to a parameter hash! error