Hi I am having problems with rendering a partial in a rails view.
I created a partial called _my_header.html.erb
in the views/layouts directory.
Then in another file in a different folder in the views called index.html.erb
I added:
<% render 'layouts/my_header' %>
I put this inside a html tag. Anyway I am getting this error:
ActionView::MissingTemplate in User#index
Showing C:/Buzzoo/Buzzoo/app/views/user/index.erb where line #2 raised:
Extracted source (around line #2):
1: <html>
2: <% render 'layouts/my_header' %>
3:
4: <body>