Using redirect_to and passing extra params
ruby-on-rails, ruby-on-rails-3
Solution
Is `env['omniauth.origin']` a String? If so, I don't think this can work. You could try adding the parameter as:
redirect_to(env['omniauth.origin'] + "?hello=helloworld")
or something to that effect.
Problem
I'm trying to return redirect_to and pass extra params. Here is what I have in my controller: ``` redirect_to(env['omniauth.origin'], :hello => "hello world") ``` This is redirecting to the URL correctly but hello is not being passed. Ideas?