Redirection problem help me


#1

Hi
i have a controler from which i has to redirect to two or many pages
. i used redirect_to . but it giving error as it considering the all
redirection


#2

vijayendra wrote:

Hi
i have a controler from which i has to redirect to two or many pages
. i used redirect_to . but it giving error as it considering the all
redirection

Are you saying “redirect_to and return”?

You have to add the “and return” if you want execution of the method to
stop at that point.

–Al Evans


#3

Al Evans wrote:

vijayendra wrote:

Hi
i have a controler from which i has to redirect to two or many pages
. i used redirect_to . but it giving error as it considering the all
redirection

Are you saying “redirect_to and return”?

You have to add the “and return” if you want execution of the method to
stop at that point.

–Al Evans

Thanks for the replay . i will try that