Forum: Ruby on Rails DRY

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
DRY
Bruce B. (Guest)
on 2005-12-10 22:42
(Received via mailing list)
Would it  not have honored 'dry' more to have layered the effects of
templates such that we have application.rhtml   then within that we
place the controller layout code and within that we place the view
layout rather than having either application.rhtml OR controller
layout template determining the layout?

bruce
Luke R. (Guest)
on 2005-12-12 03:06
(Received via mailing list)
+1

Agreed, I always thought this made more sense.

Cheers
Luke
This topic is locked and can not be replied to.