I wouldn't say definitely that one way or another is the only way to
go about this, but I would probably take the same approach as you have
suggested. You can always later see if there are some commonalities
between the two sites and move those parts out into abstract
controllers and reuse them across.
--
troels
> --
> You received this message because you are subscribed to the Google Groups "Konstrukt" group.
> To post to this group, send email to kons...@googlegroups.com.
> To unsubscribe from this group, send email to konstrukt+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/konstrukt?hl=en.
>
>
Thanks for the reply. I started taking this approach after i sent the
original message, and so far it's working well.
I have another similar question. How can I render something
differently in the same controller and the same content type? For
example, depending on the subdomain (m vs. t) i want to return
different templates in renderHtml() of the same controller. One
solution is to just have an if statement in each renderHtml and then
delegate to two different private methods, but this logic is going to
be the same in every renderer (if foo == n, else). Is there one place
this can be done?