metabahn/pakyow — Issue #36: 404 Unless Route Defined
Author: bryanp
Created: 2011-11-03 03:11:52+00:00
State: open

I wanted to get this down since it keeps coming up in conversations. This is the question of should the response succeed or not if a view directory exists but a route does not. The more I think about this the more I think a config option is needed that allows this behavior to be turned on or off. There are times in production where it would be nice to have.

This also brings up another potential issue with restful routes. What if a particular restful resource only implements part of the rest specification (e.g. new/create but not delete)? Perhaps there should be a better way of saying what parts of rest you want for a particular resource.