Update and rename different resources name of route.js to different resources name of route.rb