Thursday, May 13, 2010

[Rails] rails layouts

Hey

Right now, I have a lot of controllers/views

Half of them require one type of layout, the other half requires
another type of layout.

right now, the first half of my views uses the application.html.erb

Now, there are another bunch of views. How can I assign them all to
application2.html.erb??

I don't want to assign a seperate layout for each of the controllers,
and application.html.erb is already used. thanks

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate