I have a partial: <%= partial 'shared/pagination', :pager => @pager, :page => @page %>
no problem, it finds my shared partial in app/views/shared/ _pagination.html.erb I have another partial: <%= partial 'relay_sessions/session_history', :relay_sessions => @relay_sessions %> I get an error: Could not find template at /Users/jhancock/src/ssmerb/app/views/ account/_relay_sessions.html.* It gets the path wrong. If I hard code the path, the error shows the correct path and still tells me it can't find the file. The partial is very clearly in the correct place and in fact I'm using it successfully when the partial is referenced from the same controller, which is why its a partial as I'm re-using it ;-). So why is my shared directory working correctly but not the other? very strange..any debugging tips? thanks, Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
