newcomer of ROR

I was trying to build a blog webpage. I followed the steps of
cookbook2. Now I want to add some new functions to my blog system.That
is, I want to show all blogs that belongs to one category when I click
the category's name on category/list.rhtml.Also, I want to add a new
link to view all the categories from blog/list.rhtml.
But I have trouble with how to do it. I want to call the category's
list action from blog/list.rhtml but I don't know how to do it.

I hope I have explained my question clearly. Thank you!

What have you tried so far?

-eric

Not sure what you have done so far BUT I think this will do

<%= link_to "All", blogs_categories_path(@blog) %>