Minor alteration on view: changing routes $id to make download possible