5 ms·
I don't care much about /jobs/123 vs /job/123 my biggest problem with the default crud routes is create/update url mapping. if create fails, it will usually re
by Vitaly 15y ago
I don't care much about /jobs/123 vs /job/123
my biggest problem with the default crud routes is create/update url mapping. if create fails, it will usually re-render edit, but now you have it over non-edit url. create actually shares url with index, and so if controller doesn't support index you might have a page with edit form and url at the top that can't be resolved for a GET request. so if you do Control-L, Enter you get error page, duh!
I think a better default would be for create to map to same url as new, and update same url as edit