If I was to include a file (such as in a template) in php to use
across a large number of pages, I would write this:
<?php include ('navigation.html'); ?>

In turn, every time I used this code, it would “include” (or better
put, display) the content of navigation.html in the browser.

I can’t figure out how to do this is Rails. When building my layouts,
how can I include a file like this, like I would in PHP. I have files
I’d like to include remotely, but not sure how to get this done.

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to