i have a small query for all of you
i have a report problem link in a view and after reporting the problem
sucessfully
the page should redirect to the previous page prior to clicking the
report problem link
i have a small query for all of you
i have a report problem link in a view and after reporting the problem
sucessfully
the page should redirect to the previous page prior to clicking the
report problem link
Hi John,
john wrote:
the page should redirect to the previous page prior
to clicking the report problem link
redirect_to => :back
hth,
Bill
On Mar 7, 2007, at 10:24, john wrote:
i have a small query for all of you
i have a report problem link in a view and after reporting the problem
sucessfullythe page should redirect to the previous page prior to clicking the
report problem link
Try redirect_to :back or using request.env[“HTTP_REFERER”] as the link
address.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs