| |||||||||||||||||||||||||||||||||||||||
|
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. _______________________________________________ Rails mailing list Rails http://lists.rubyonrails.org/mailman/listinfo/rails
| ||||||||||||||||||||||||||||||||||||||
© 2004-2008 readlist.com