I’m developping a (complex) website that consists of only a single page.
Therefor I like all my controller methods to render the same template.
At the moment I have a main.rhtml and a main method. I added some other
methods with at the end of there body the following code:
render :template => “main”
but when I call one of those methods the template seems to be rendered
at a different location (is it?) because all the links to the css and
images are broken, and I can’t call any actiona anymore…
Some way to fix this?
(using render :action instead of render :template doesn’t do the trick)