I have a cms system for multiple clients.
Now i have the following controller:
websites with 2 methods:
index and public.
I would like to serve different types of content through that method.
So it could be images, js, css etc.
But how to accomplish this!
of course i have this extention.. for example /index.css
i check if it exists and then i want to render it.
But how to do this with different types of content ?
Have you tried
respond_to?etc