This is a very simple question as I am a student trying my
hand at a
simple rails app. How do you use html frames inside the RoR
scaffold.
I can set the frame structure with no problem - but I am not
sure how
to point each frame to a .rhtml file.
I tried this code just playing around
<frameset rows="10%,50%">
<frame src="menu.rhtml">
<frameset cols="50%,50%">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</frameset>
but I get the following error in each frame
Routing Error
no route found to match "/menu.rhtml" with
{:method=>:get}
I'm not sure how to set the routing obviously ( and what
code I need
to include in the controller file).
Thanks to anyone who can help me
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails" group.
To post to this group, send email to rubyonrails googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-unsubscribe googlegroups.com
For more options, visit this group at http://gro
ups.google.com/group/rubyonrails
-~----------~----~----~----~------~----~------~--~---
|