Correctly handling 404 in all resources details page (closes #13)