Hi guys. I'm relatively new to rails, not to ruby. Was wondering how can
I call an HTML file(perhaps *.erb.html) from another HTML file. I'm
writing HTML in the application layout(application.html.erb) and I want
to abstract some parts like the footer and the upper part to another
file, for easy reading and order. My clue is to call render() to each
file(footer and upper), but is that fine? Do you use another way to do
this? can sugget me? Thank you.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/8a3ef266f3660ad533d9a2080b929ac1%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to