Ruby on Rails Monday, October 26, 2015

Where would you plan on putting two files with the same name? You can
embed erb (if then else) in the file to make it do different things in a
different situation.

Norm

On 10/26/2015 06:56 PM, Gerardo Abregu wrote:
> Can i have two versions of show.html.erb for the same model.Is it
> possible.
>

--
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+unsubscribe@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/562F0F04.6050805%40earthlink.net.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment