You need to use blog_posts_path or blog_posts_url. Either will work
with your link_to, but path is preferable (to me at least):
<%= link_to "manage blog", blog_posts_path(@blog)%>
You need to use blog_posts_path or blog_posts_url. Either will work
with your link_to, but path is preferable (to me at least):
<%= link_to "manage blog", blog_posts_path(@blog)%>