I want to know if the code below is correct. I simply want to render a partial found inside a subfolder.
My view folder is like this : Views/Subs/showPartials/_showform1.html.erb
The code below is not working and is displaying the error message <<ActionView::MissingTemplate in Subs#show >>
CODE:
<%= render :partial => 'showPartials/showform1' %>
Many many thanks in advance for your help
Provide the full path to partial:-
<%= render :partial => ‘Subs/showPartials/showform1’ %>
Thanks…..