I'm using render :file, but as far as I can tell, Rails still tacks
RAILS_ROOT/app/views to the beginning of the given filename. Is there
a way to disable this? Ideally, I'd be rendering the partial from
outside the Rails root entirely.

On Jan 2, 3:42 am, Andrius Chamentauskas <[email protected]> wrote:
> render :file => ...
>
> On Jan 2, 12:32 am, Jeff <[email protected]> wrote:
>
> > I have a client Rails project, and I'd like to create a folder outside
> > of the Rails app completely. The client could create vanilla HTML
> > files and drop them into the folder. I'd then like to render those
> > HTML files as partials against the main site template. I want to keep
> > the client as far from the actual Rails app as possible. Is there a
> > way for me to render partials from outside the Rails root? Or at least
> > outside views?
>
> > Thanks,
> > Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to