search for: _partial_3

Displaying 1 result from an estimated 1 matches for "_partial_3".

Did you mean: _partial_
2006 May 21
3
Where to put partials called from the application layout
...s like this: something render partial_1 something else render partial_2 something else render partial_3 The partials are not really doing anything, i use them to keep the layout modular (i.e . to have ~30 lines instead of 200). Now, the question is where to put _partial_1.rhtml, _partial_2.rhtml, _partial_3.rhtml. If i am putting them to app/views/layouts, they are not found when a view using this layout (e.g. view of the controller foo) is rendered - but i don''t want to put them into app/views/layouts/foo/ either since if i am going to use the same layout to render the controller bar, i will...