This project is archived and is in readonly mode.

#1190 ✓invalid
Gaius Centus Novus

Routing not recognizing method

Reported by Gaius Centus Novus | October 8th, 2008 @ 04:07 PM | in 2.x

I have a very simple routes.rb:

... do |map|
  map.resources 'tags'
end

But going to localhost:3000/tags yields:

ActionController::MethodNotAllowed

Only get and post requests are allowed.

Relevant gems: * actionmailer (2.1.1) * actionpack (2.1.1) * activerecord (2.1.1) * activeresource (2.1.1) * activesupport (2.1.1) * fcgi (0.8.7) * mongrel (1.1.5) * rails (2.1.1)

Rails is vendored to 2.1.1.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages