edited the routes.rb file to include the tables route to file