routes.rb updated with 'resources'