“You are being redirected.” now being displayed when I go to my page.
Before it would take me to the page that I specified as the one I wanted
to load.
I recently upgraded to the latest Rails (1.1.2 I think).
Chris
“You are being redirected.” now being displayed when I go to my page.
Before it would take me to the page that I specified as the one I wanted
to load.
I recently upgraded to the latest Rails (1.1.2 I think).
Chris
On 6/1/06, Why the redirect? [email protected] wrote:
“You are being redirected.” now being displayed when I go to my page.
Check config/routes.rb? Specifically the line that says:
map.connect ‘’, :controller => “welcome” should be uncommented and
you’ll get your welcome controller by default.
“You are being redirected.” is being rendered from my “content/index”
which does redirect to “content/list”. Before my upgrade to 1.1.2, it
didn’t give me a stale screen with “You are being redirected.”
The text is not sent from routes.rb. That file is correctly sending the
visitor to “content/index”.
When I tried to change routes.rb to read
map.connect “”, :controller => “content”, :action => “list”
It gave me a circular error that always showed “You are being
redirected.”
You can see the delima at mudbowl.winslettdesign.com
Thanks,
Chris
The reason the “You are being redirected.” was being displayed on the
screen is improper caching on my part.
I was a caching an action that was redirecting.
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