How to use Framesets in Ruby on Rails?
This is actually further asking on a question I posted earlier. I am not sure how to include the path of the file you want to put in the src
attribute.
<FRAMESET ROWS="65%,35%" FRAMEBORDER='0' FRAMESPACING='0'>
<FRAME NAME="DISP" SRC="<%= chat_window_path %>">
<FRAME NAME="TEXT" SRC="<%= chat_window_path %>B">
</FRAMESET>
I wrote the above, following the answers provided for that question. The action *chat_window* was added to my pages controller and the rout开发者_如何学运维e was added as well. However, I am not sure how to replace *chat_window_path* with the actual action path. I tried some things, but nothing worked.
精彩评论