Hello All I currently have a menu on my page which when an option is selected will display the associated rhtml file from one of the views/ directories, nothing fancy works great. I''m trying to extend the menu options to include some older php files that i have not migrated to RoR yet. I guess just putting the files in a new views directory and referencing it as i do the others would work but i can''t move them. If i do the following it starts a new page, I need it to be displayed as the content of my current page. <%= link_to "Test", "http://www.helpme.com/" -%> Any way to treat a non-views/ directory file like a view/ directory file? Hope that makes sense, any help appreciated, thanks...Bill -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bill McG wrote:> Hello All > I currently have a menu on my page which when an option is selected will > display the associated rhtml file from one of the views/ directories, > nothing fancy works great. I''m trying to extend the menu options to > include some older php files that i have not migrated to RoR yet. I > guess just putting the files in a new views directory and referencing it > as i do the others would work but i can''t move them. > If i do the following it starts a new page, I need it to be displayed as > the content of my current page. > <%= link_to "Test", "http://www.helpme.com/" -%> > Any way to treat a non-views/ directory file like a view/ directory > file? > > Hope that makes sense, any help appreciated, thanks...BillCan anyone help with this. Trying to get an rhtml file from a non-rails directory to show up where yield would normally display a rhtml file from a apps\views directory. Thanks -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---