convert path option to hash

 because from rails 4.1 redirect_to will raise an error when called with  an parameters hash.

Shall I provide a test for that? If yes in what way?
and this could also use [compact](https://github.com/typus/typus/blob/master/lib/support/hash.rb#L4-L8)