Refactor /recipes/:id block