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 <whatever> 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

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to