Francois Beausoleil
2005-Nov-30 00:43 UTC
How to select between RXML and RHTML template at runtime ?
Hi ! I have some actions which I'd like to serve using XML instead of HTML. I have two action templates: action.rhtml and action.rxml. If I do render :action => 'action', ActionPack automatically selects the RHTML template. Is there a programmatic way of selecting which template I'd like to use ? Thanks ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails