modified routes.rb for nested resources