how to redirect to a url that is stored inside a variable

  • Thread starter Sreevarshini Kuppuraj
  • Start date
S

Sreevarshini Kuppuraj

I am trying to redirect to an url by using the method redirect_to but
the URL is stored in a variable. i tried to give some thing like this

redirect_to (@redirectURL)
but it dint worked

Plz help me out

Thanks
sreevarshini
 
B

Brian Candler

Sreevarshini said:
I am trying to redirect to an url by using the method redirect_to but
the URL is stored in a variable. i tried to give some thing like this

redirect_to (@redirectURL)
but it dint worked

There is no 'redirect_to' method in the core Ruby language. I guess
you're talking about Rails - please asks Rails questions on a Rails
mailing list.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top