Sam Donaldson
2006-Nov-04 01:37 UTC
[Rails] sharing a partial across multiple controller views.
Hello, I was wondering if there was a way to share a partial across multiple controller views? In other words, if I have 2 controllers, the corresponding directory structure for the views of those conrollers would like so: views/controller1/<views> views/controller2/<views> I would like to share the partial between controller1 and controller2. Could I make a share directory under views/ and put my partial in there? How do I tell ruby to look in that directory? Thanks, Sam. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060820/ac28b78d/attachment-0001.html