Tuesday, November 23, 2010

[Rails] iFrame and routes

I have the following haml line:
%iframe{'id' => main3Wrap_iframe,
'src' => "/documentation/Marketing Overview - Ralph 011.htm",
'width' => '100%', 'height' => "550"}


(main3Wrap_iframe is properly defined.)

When I attempt to run this, RoR complains that
Routing Error

No route matches "/documentation
/Marketing%20Overview%20-%20Ralph%20011.htm" with {:method=>:get}

I have no
class DocumentationController
because I don't want one.

How do I tell RoR that the name associated with the key "src" is not to
be run through routing?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate