This project is archived and is in readonly mode.
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
-
Gaius Centus Novus October 8th, 2008 @ 04:10 PM
It seems to be a Mongrel problem, not a Rails problem.
script/server webrick
Solves it.
-
Pratik January 18th, 2009 @ 06:50 AM
- State changed from new to invalid
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>