Fixed typo and refactored /:model/:id/ calls