1

Resolved

Refactor Pets by status

description

Currently there is a PetsController with separate views for available, pending, success, memory. We should refactor this to use the ShortName for a status that comes in like so:
http://www.mvcpets.com/Pets/Status/{StatusName}
 
This way we can use just one view and not have to recreate nearly identical views each time a new status is added.

comments

john_flynn wrote Dec 8, 2010 at 1:31 AM

This is done. Add a new route and trimmed down to use a single view for all statuses. That means if additional statuses are added they will work as well.