<h2> All Blogs</h2>
<ul>
<% @weblogs.each do |page| %>
<li>
<%= link_to page.title, weblog_path(@weblogs) %>
</li>
<% end %>
</ul>
and, at first, I create on item and it's url like thishttp://localhost:3000/weblogs/1
It just works fine for me.
Well the argument you're passing to weblog_path is the entire
collection of weblogs which doesn't seem right (especially when you've
already got a variable page that will iterate over the members of that
collection