On 23 November 2010 15:52, Ralph Shnelvar <li...@ruby-forum.com> wrote: > 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?
By putting the file in your_app/public/documentation. Then your link will find it. Colin -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.