Renamed productview.erb to videoview.erb and updated the routes. Applied url logic to edit page.