The following is a snippet of the routes.rb file:

  map.resources :blogs do |blog|
    blog.resources :posts do |post|
        post.resources :comments
    end
  end


The index action in the CommentsController shows:

redirect_to comments_url

I am trying to see what comments_url resolves to in the Rails Console,
but do not know how.

Thanks in advance for your time and help.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to