Updated routes.rb file to fix routes issue