Within a controller function, you can do response.view='your_view' if you 
want to use a view other than the default (i.e., 
/views/controller/function.extension).

Anthony

On Tuesday, September 13, 2011 11:31:03 AM UTC-4, Ramos wrote:
>
> If i have 2 views with the same controller function i should not create the 
> second function in the same controller.
>
> Also detecting for example ismobile in the view makes me mix diferent 
> perspectives in the same view. This i find ugly coding. and ugly reading
>
> There should be some mecanism that could permit diferent views  to be 
> attached to the same controller
>

Reply via email to