I have one problem when I create the index page.
I have wrote following in index.html.erb:
<% @weblogs.each do |page| %>
- <%= link_to page.title, weblog_path(@weblogs) %> <% end %>
and, at first, I create on item and it’s url like this
It just works fine for me.
But when I’ve created the second item, the url of both 2, became like