cater for non-html mime types for resource#show ResourceNotFound