Hi. I''m trying to support having a directory of templates, that
contain the layout files, the stylesheets, and the images for the
template.
My first step was simply to try and render an action using a layout
in a different directory. But it always fails with a "No rhtml,
rxml, or delegate template found for /templates/admin" error.
I''ve
tried each of these (in the controller) with no success:
render :action => ''show'', :layout =>
''/templates/site1/admin''
render :action => ''show'', :layout =>
''templates/site1/admin''
I''ve tried placing the "templates" directory in
"app/layouts",
"public", and the root of the app. None seem to work.
Am I missing an option to make this work? I think the :use_full_path
option is only for the render :file
Thanks,
Brett