Hi there,

I have a strange error:

In a controller, I have a...

   redirect_to :action => 'show'

...at the end. But upon code execution, Firebug tells me:

  syntax error
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>

(It says that for Line 0)

Does anyone have a clue what this means and where the problem lies?

Just in case:
- I have also tried to use the "loose" version in the HTML code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
But it didn't change anything.
- redirect_to a different :action works.

Thank you for any help with this!
Tom
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to