Hi,

I've just been looking on track and came across a patch talking about .erb
templates.  The following snippet is given.

respond_to do |format|
  format.html # show.html.erb
  format.js # show.js.rjs
end

Can anyone point me in the direction of some information for what / how please?

Thankyou
Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to