It doesn't matter all that much. If it has a stronger affinity for one
of the controllers, then put it in that controller's view folder, and
then in the other spot where you need to reference it, just put the
leading /modelname/partialname on the render argument.
So you have
views
Hello, I'm new in Rails and much more in MVC, and I'm absolutly lost.
The question is more clearly this:
If I have a partial, than uses a controller/method (called X) for
requery itself via JS, and this partial is viewed in two screens ( two
controllers, menu and sarch). where do you place this c
2 matches
Mail list logo