Nested routes problems

Nike Mike
Mon, 09 Nov 2009 13:46:06 -0000

Hi i am using nested resources in my application like this

  map.resources :forums do |forum|
    forum.resources :topics do |topic|
      topic.resources :posts
    end
  end

while i am submitting a from with url like this
http://localhost:3000/forums/1/topics/new

i am facing the problem

"Only get, put, and delete requests are allowed."

Please help me
--
Posted via http://www.ruby-forum.com/.