changed routesfrom 'get' to resources
ran bundler
changed routes and removed the do and end from resources