Sounds pretty reasonable to me. Couple thoughts: I know that the Globalize plugin uses template.en-US.rhtml, template.es-MX.rhtml, etc. To me this is preferable to en-US/template.rhtml. That would lead to a lot of extra folders lying about. Can we use a patch like this to enable this behavior? This is a minor concern, but one I think others would raise too.
Should this be specified on an application-wide basis, or on a request-by-request basis, perhaps mediated by before_filters? Kyle On 12/12/05, Duane Johnson <[EMAIL PROTECTED]> wrote: > I submitted a patch some time ago that I'd like some feedback on. It seems > like a good idea to me that we make an official way to provide alternate > paths for view files. A lot of hacks have cropped up that could be > consolidated (e.g. the "Falling through to default templates" thread, > engines, plugins and my productized rails work all use this sort of a hack). > > http://dev.rubyonrails.org/ticket/2754 > > Duane Johnson > (canadaduane) > _______________________________________________ > Rails-core mailing list > [email protected] > http://lists.rubyonrails.org/mailman/listinfo/rails-core > > > _______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
